This commit is contained in:
2022-02-16 18:04:53 +08:00
parent 88493f7fa6
commit dfc58676f9
2 changed files with 1 additions and 4 deletions

View File

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