1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-25 11:42:30 +01:00

Update Message.tsx

This commit is contained in:
Puyodead1 2023-12-15 19:36:55 -05:00 committed by GitHub
parent 6f058c118b
commit 27a24f00c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.id)); message.mention_roles.some((r1) => guild.members.me?.roles.some((r2) => r1.id === r2));
return ( return (
<MessageBase <MessageBase