allow sending media even when last event was an edit

This commit is contained in:
Henry Hiles 2026-10-01 18:12:59 -04:00
commit ec30adc0e3
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -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);