fixed bug that prevents sending messages if reply was triggered in a different chat
This commit is contained in:
@@ -93,9 +93,13 @@ class ChatBloc
|
||||
_stopLongPoll();
|
||||
add(
|
||||
Emit(
|
||||
// A reply reference belongs to the room it was picked in — carrying it
|
||||
// into the next chat makes every send there fail on an unrelated
|
||||
// parent id. ChatTextfield restores this room's draft reply after.
|
||||
(s) => s.copyWith(
|
||||
currentToken: token,
|
||||
chatResponse: null,
|
||||
referenceMessageId: null,
|
||||
hasMoreOld: true,
|
||||
isLoadingOlder: false,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user