diff --git a/lib/widgets/chat_page/room_chat.dart b/lib/widgets/chat_page/room_chat.dart index 9514c88..81080cf 100644 --- a/lib/widgets/chat_page/room_chat.dart +++ b/lib/widgets/chat_page/room_chat.dart @@ -68,7 +68,8 @@ class RoomChat extends HookConsumerWidget { ), ), // Should check if is state event (has state_key), if so, don't show edit option - if (message.authorId == room.roomData.client.userID) + if (message is TextMessage && + message.authorId == room.roomData.client.userID) PopupMenuItem( onTap: () { replyToMessage.value = message;