Commit 4fd2407c by Sixong.Zhu

Merge branch 'master' into pre

parents a92f9e7d 0deb5a58
Showing with 9 additions and 2 deletions
......@@ -326,8 +326,15 @@
return true;
}
const o = +this.messageBody.eid;
return o === +this.chatMyId;
if (this.messageBody.eid && this.chatMyId) {
const o = +this.messageBody.eid;
const m1 = o === +this.chatMyId;
if (m1 && Xim.isBackend() && this.messageBody.oid) {
return +this.messageBody.oid === +Xim.getOrgId();
}
return m1;
}
return false;
}
private get userName() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment