From ec30adc0e373bcdafd388c59312a1f6a3f6e6a18 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Thu, 1 Oct 2026 18:12:59 -0400 Subject: [PATCH] allow sending media even when last event was an edit --- lib/controllers/room_chat.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controllers/room_chat.dart b/lib/controllers/room_chat.dart index 7150206..5e58c0a 100644 --- a/lib/controllers/room_chat.dart +++ b/lib/controllers/room_chat.dart @@ -221,7 +221,7 @@ class RoomChatController(final ChatParams info) ), ); - if (relationType == .edit) { + if (relationType == .edit && relatedEventRowId != null) { baseContent = relatedEvent?.content; } else { final provider = AttachmentController.provider(info.roomId);