|
|
|
@ -260,9 +260,8 @@ class ChatProviderModel with ChangeNotifier, DiagnosticableTreeMixin {
|
|
|
|
data.first.currentUserName = temp.first.targetUserName;
|
|
|
|
data.first.currentUserName = temp.first.targetUserName;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
userChatHistory.add(data.first);
|
|
|
|
userChatHistory.add(data.first);
|
|
|
|
scrollToBottom();
|
|
|
|
|
|
|
|
notifyListeners();
|
|
|
|
notifyListeners();
|
|
|
|
// if (isChatScreenActive) scrollDown();
|
|
|
|
if (isChatScreenActive) scrollToBottom();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void onUserTyping(List<Object?>? parameters) {
|
|
|
|
void onUserTyping(List<Object?>? parameters) {
|
|
|
|
|