Browse Source

发消息修改

wr_202303
zsw 4 months ago
parent
commit
c8e4d9e2f3
  1. 8
      lib/im/im_view/im_page.dart

8
lib/im/im_view/im_page.dart

@ -102,9 +102,7 @@ class _IMPage extends State<IMPage> implements OnChatMessage {
if (contactMap[message.fromId] == null) {
/// TODO: message.fromId request Api and setState
}
if (mounted) {
setState(() {});
}
refreshState();
});
debugPrint("messages: queryList");
@ -129,9 +127,7 @@ class _IMPage extends State<IMPage> implements OnChatMessage {
}
contactMap = contacts.lGroupBy((p0) => p0.userId).mGroupItem;
if (mounted) {
setState(() {});
}
refreshState();
}
void updateLastMessage(String userId) async {

Loading…
Cancel
Save