Allow reactions only in unencrypted chats

This commit is contained in:
Arne 2024-10-13 11:33:19 +02:00
parent 3d13dc1606
commit b7a6f36f1d

View file

@ -1629,7 +1629,7 @@ public class ConversationFragment extends XmppFragment
setThread(message.getThread()); setThread(message.getThread());
conversation.setUserSelectedThread(true); conversation.setUserSelectedThread(true);
} }
addReaction(message); if (message.getEncryption() == Message.ENCRYPTION_NONE) addReaction(message);
}); });
messageListAdapter.setOnMessageBoxSwiped(message -> { messageListAdapter.setOnMessageBoxSwiped(message -> {