From b3652a4ffa1ea7a73e5cd2fb7a414cd2d9b80afb Mon Sep 17 00:00:00 2001 From: Spyro24 Date: Tue, 7 Jul 2026 16:14:00 +0200 Subject: [PATCH 1/2] Added a setting for the new Masqurade feature into the role menu --- src/chat-api/Bitwise.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/chat-api/Bitwise.ts b/src/chat-api/Bitwise.ts index 09e1c292..ce1d4e64 100644 --- a/src/chat-api/Bitwise.ts +++ b/src/chat-api/Bitwise.ts @@ -392,6 +392,12 @@ export const ROLE_PERMISSIONS = { bit: 256, description: () => "Allow users to mention roles", icon: "alternate_email" + }, + MASQUERADE: { + name: () => "Masquerade", + bit: 512, + description: () => "Allow members to change name and avatar per-message", + //icon: "alternate_email" // We dont need curently a icon for that because a "normal" user cant use it } }; From 825b66b70438209ac213952ed9addb601955bacf Mon Sep 17 00:00:00 2001 From: Spyro24 Date: Sat, 11 Jul 2026 10:52:18 +0200 Subject: [PATCH 2/2] added the masq tag --- src/chat-api/RawData.ts | 1 + src/components/message-pane/message-item/MessageItem.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/chat-api/RawData.ts b/src/chat-api/RawData.ts index fbaa04ca..b0872f11 100644 --- a/src/chat-api/RawData.ts +++ b/src/chat-api/RawData.ts @@ -101,6 +101,7 @@ export interface RawMessage { buttons: RawMessageButton[]; roleMentions: RawServerRole[]; + creatorOverrideId?: string | null; webhookId?: string; } diff --git a/src/components/message-pane/message-item/MessageItem.tsx b/src/components/message-pane/message-item/MessageItem.tsx index 45604f1e..f06c1647 100644 --- a/src/components/message-pane/message-item/MessageItem.tsx +++ b/src/components/message-pane/message-item/MessageItem.tsx @@ -336,6 +336,9 @@ const Details = (props: DetailsProps) => { : t("message.badge.bot")} + +
masq
+
{formatTimestamp(props.message.createdAt)}