群头像修改时不同步的问题

This commit is contained in:
2022-02-16 16:29:52 +08:00
parent e0893a897a
commit fe9b79a18d
6 changed files with 37 additions and 32 deletions

View File

@@ -150,7 +150,8 @@ const addListeners = () => {
})
}
newMessage(message)
} else if (message.objectName === RongIMLib.ObjectName.ProfileNotification) {
} else if (message.objectName === RongIMLib.ObjectName.ProfileNotification) {
// 更新会话信息
store.dispatch('updateContact', JSON.parse(message.content.data))
// 调用完更新之后,删除这条消息
RongIMLib.deleteMessagesByIds([message.messageId], ({