mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-22 02:12:38 +01:00
Update Message.tsx
This commit is contained in:
parent
27a24f00c3
commit
7f658cae8d
@ -32,7 +32,7 @@ function Message({ message, header }: Props) {
|
|||||||
const isRoleMentioned =
|
const isRoleMentioned =
|
||||||
guild &&
|
guild &&
|
||||||
"mention_roles" in message &&
|
"mention_roles" in message &&
|
||||||
message.mention_roles.some((r1) => guild.members.me?.roles.some((r2) => r1.id === r2));
|
message.mention_roles.some((r1) => guild.members.me?.roles.some((r2) => r1 === r2.id));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MessageBase
|
<MessageBase
|
||||||
|
Loading…
Reference in New Issue
Block a user