mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-24 11:45:28 +00:00
Fix bad check for story context.
This commit is contained in:
committed by
Cody Henthorne
parent
2b15fc2966
commit
f17f45f277
@@ -887,7 +887,7 @@ public final class MessageContentProcessor {
|
||||
private @Nullable MessageId handleReaction(@NonNull SignalServiceContent content, @NonNull SignalServiceDataMessage message, @NonNull Recipient senderRecipient) throws StorageFailedException {
|
||||
log(content.getTimestamp(), "Handle reaction for message " + message.getReaction().get().getTargetSentTimestamp());
|
||||
|
||||
if (content.getStoryMessage().isPresent()) {
|
||||
if (message.getStoryContext().isPresent()) {
|
||||
log(content.getTimestamp(), "Reaction has a story context. Treating as a story reaction.");
|
||||
handleStoryReaction(content, message, senderRecipient);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user