open-im-sdk-web-wasm
open-im-sdk-web-wasm copied to clipboard
[BUG] After setting the ex extension field on the server side, manually calling getConversationListSplit on the client side cannot obtain the latest data.
OpenIM Server Version
3.8.3-patch.3
Operating System and CPU Architecture
Windows (ARM)
Deployment Method
Source Code Deployment
Bug Description and Steps to Reproduce
服务端在创建会话和群聊时设置了ex拓展字段,客户端这边首次进入页面调用getConversationListSplit可以获取到最新含ex拓展字段的会话(从控制台查看有http请求),当客户端第二次调用(未刷新页面,再次调用SDK方法)getConversationListSplit获取会话列表时获取到的会话列表无ex拓展字段(无http请求),通过从会话列表获取到的单个群组ID再次调用IMSDK.getSpecifiedGroupsInfo([groupID])方法,仍然无法获取到ex拓展字段
Screenshots Link
No response
What exactly does "Create conversation and group chat" mean? The server side does not have an API for creating conversations. Can you describe the specific operation steps in detail?
“创建对话和群聊”具体是什么意思?服务器端没有创建对话的API,能详细说一下具体的操作步骤吗?
服务端创建群聊之后设置了群组和会话的ex属性并填充内容,客户端这边接收到会话变更的回调(OnConversationChanged)此时会话信息可以获取到ex属性的内容,如果客户端手动调用getConversationListSplit获取会话列表,返回来的数据ex字段是空字符串
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
What does "create conversations and group chats" mean? There is no API to create a conversation on the server side. Can you explain the specific operation steps in detail?
After the server creates a group chat, the ex attributes of the group and session are set and filled in the content. The client receives the onConversationChanged callback (OnConversationChanged). At this time, the session information can obtain the ex attribute content. If the client manually calls getConversationListSplit to get the session list, the returned data ex field is an empty string