Fix bad check for story context.
This commit is contained in:
parent
2b15fc2966
commit
f17f45f277
1 changed files with 1 additions and 1 deletions
|
@ -887,7 +887,7 @@ public final class MessageContentProcessor {
|
||||||
private @Nullable MessageId handleReaction(@NonNull SignalServiceContent content, @NonNull SignalServiceDataMessage message, @NonNull Recipient senderRecipient) throws StorageFailedException {
|
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());
|
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.");
|
log(content.getTimestamp(), "Reaction has a story context. Treating as a story reaction.");
|
||||||
handleStoryReaction(content, message, senderRecipient);
|
handleStoryReaction(content, message, senderRecipient);
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue