Commit 7184aeda by Sixong.Zhu

Merge branch 'master' into pre

parents 73409298 d3b91326
Showing with 7 additions and 2 deletions
...@@ -344,9 +344,14 @@ ...@@ -344,9 +344,14 @@
return true; return true;
} }
if (this.backend && this.messageBody.eid) { if (
this.backend &&
this.messageBody &&
this.messageBody.eid &&
this.allChatMembers
) {
const t = this.allChatMembers.find( const t = this.allChatMembers.find(
(i) => +i.eid === +this.messageBody.eid (i) => +i.eid === +(this.messageBody.eid as string)
); );
if (t && t.type !== ChatRole.Default) { if (t && t.type !== ChatRole.Default) {
return true; return true;
......
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