提交 ca7af78e 编写于 作者: DCloud_JSON's avatar DCloud_JSON

修复 部分用户不能发消息的问题

上级 9876e87e
...@@ -412,9 +412,7 @@ async function _createOrUpdateConversation(conversation_id, msgData) { ...@@ -412,9 +412,7 @@ async function _createOrUpdateConversation(conversation_id, msgData) {
let getUserInfoRes = await db.collection('uni-id-users') let getUserInfoRes = await db.collection('uni-id-users')
.doc(this.current_uid) .doc(this.current_uid)
.field({ .field({
email:1, mobile_confirmed:1
nickname:1,
role:1
}) })
.get() .get()
if(!getUserInfoRes.data[0].mobile_confirmed){ if(!getUserInfoRes.data[0].mobile_confirmed){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册