mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 14:09:58 +00:00
Drop stories from users we would normally show a message request for.
This commit is contained in:
committed by
Cody Henthorne
parent
8fc2d5be37
commit
b1f7dbefd8
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user