mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Restrict text story post sends to stories only.
This commit is contained in:
@@ -1320,7 +1320,7 @@ public final class MessageContentProcessor {
|
||||
private void handleStoryMessage(@NonNull SignalServiceContent content, @NonNull SignalServiceStoryMessage message, @NonNull Recipient senderRecipient) throws StorageFailedException {
|
||||
log(content.getTimestamp(), "Story message.");
|
||||
|
||||
if (Stories.isFeatureAvailable()) {
|
||||
if (!Stories.isFeatureAvailable()) {
|
||||
warn(content.getTimestamp(), "Dropping unsupported story.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user