Drop stories from users we would normally show a message request for.
This commit is contained in:
parent
8fc2d5be37
commit
b1f7dbefd8
1 changed files with 5 additions and 0 deletions
|
@ -1338,6 +1338,11 @@ public final class MessageContentProcessor {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!(senderRecipient.isProfileSharing() || senderRecipient.isSystemContact())) {
|
||||
warn(content.getTimestamp(), "Dropping story from an untrusted user.");
|
||||
return;
|
||||
}
|
||||
|
||||
Optional<InsertResult> insertResult;
|
||||
|
||||
MessageDatabase database = SignalDatabase.mms();
|
||||
|
|
Loading…
Add table
Reference in a new issue