fix some bugs i think ?
This commit is contained in:
parent
50a6eb7c92
commit
cb5846600b
6 changed files with 43 additions and 34 deletions
|
|
@ -128,9 +128,8 @@ class RoomChatController extends AsyncNotifier<ChatController> {
|
|||
await room.sendTextEvent(
|
||||
taggedMessage,
|
||||
editEventId: relationType == RelationType.edit ? relation?.id : null,
|
||||
displayPendingEvent: relationType != RelationType.edit,
|
||||
inReplyTo: (relationType == RelationType.reply)
|
||||
? await room.getEventById(relation!.id)
|
||||
inReplyTo: (relationType == RelationType.reply && relation != null)
|
||||
? await room.getEventById(relation.id)
|
||||
: null,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue