diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt index b114dc0c9..f4cc74f70 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt @@ -269,7 +269,7 @@ class MessageActionsDialog( } private fun sendReaction(message: ChatMessage, emoji: String) { - if (message.reactionsSelf.contains(emoji)) { + if (message.reactionsSelf?.contains(emoji) == true) { deleteReaction(message, emoji) } else { addReaction(message, emoji)