Commit d3b91326 by Sixong.Zhu

update

parent 5a2b2252
Showing with 7 additions and 2 deletions
......@@ -344,9 +344,14 @@
return true;
}
if (this.backend && this.messageBody.eid) {
if (
this.backend &&
this.messageBody &&
this.messageBody.eid &&
this.allChatMembers
) {
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) {
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