新好友提醒优化

This commit is contained in:
2022-02-16 18:00:23 +08:00
parent ff334c1cb0
commit 3eb7b80496
4 changed files with 20 additions and 22 deletions

View File

@@ -159,7 +159,8 @@ const addListeners = () => {
}) => {
console.log('消息删除结果', code)
})
} else if (message.objectName === RongIMLib.ObjectName.ContactNotification) {
} else if (message.objectName === RongIMLib.ObjectName.ContactNotification) {
console.log('onContactNotification');
// 触发一个新好友的通知事件
uni.$emit('onContactNotification', message.content)
}