wildfirechat / wfc_flutter_plugins

野火flutter插件,包含即时通讯和实时音视频插件
Other
35 stars 26 forks source link

获取用户信息 #108

Closed SeongBrave closed 7 months ago

SeongBrave commented 7 months ago

创建了群,然后之前不是好要发送消息,好像是本地没有缓存还是啥的,第一次访问 ///获取用户信息 static Future<UserInfo?> getUserInfo(String userId, {String? groupId, bool refresh = false}) async { return ImclientPlatform.instance.getUserInfo(userId, groupId: groupId, refresh: refresh); } 获取用户信息的时候 返回为null,然后第二次再访问就OK了

heavyrain2012 commented 7 months ago

https://docs.wildfirechat.cn/faq/general.html 问题9