kopia lustrzana https://github.com/ryukoposting/Signal-Android
Drop stories from users we would normally show a message request for.
rodzic
8fc2d5be37
commit
b1f7dbefd8
|
@ -1338,6 +1338,11 @@ public final class MessageContentProcessor {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!(senderRecipient.isProfileSharing() || senderRecipient.isSystemContact())) {
|
||||||
|
warn(content.getTimestamp(), "Dropping story from an untrusted user.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Optional<InsertResult> insertResult;
|
Optional<InsertResult> insertResult;
|
||||||
|
|
||||||
MessageDatabase database = SignalDatabase.mms();
|
MessageDatabase database = SignalDatabase.mms();
|
||||||
|
|
Ładowanie…
Reference in New Issue