allow sending media even when last event was an edit
This commit is contained in:
parent
a63d182c50
commit
ec30adc0e3
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ class RoomChatController(final ChatParams info)
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (relationType == .edit) {
|
if (relationType == .edit && relatedEventRowId != null) {
|
||||||
baseContent = relatedEvent?.content;
|
baseContent = relatedEvent?.content;
|
||||||
} else {
|
} else {
|
||||||
final provider = AttachmentController.provider(info.roomId);
|
final provider = AttachmentController.provider(info.roomId);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue