Show moderation menu for moderators. Closes #1864
This commit is contained in:
@@ -339,8 +339,8 @@ export function ClientConfigStore() {
|
||||
|
||||
const metadata = mergeMeta(state.meta) as AppStateOptions;
|
||||
|
||||
console.debug('--- APP STATE: ', state.value);
|
||||
console.debug('--- APP META: ', metadata);
|
||||
// console.debug('--- APP STATE: ', state.value);
|
||||
// console.debug('--- APP META: ', metadata);
|
||||
|
||||
setAppState(metadata);
|
||||
});
|
||||
|
||||
@@ -13,6 +13,6 @@ export default function handleConnectedClientInfoMessage(
|
||||
setChatDisplayName(displayName);
|
||||
setChatDisplayColor(displayColor);
|
||||
setChatUserId(id);
|
||||
setIsChatModerator(scopes?.includes('moderator'));
|
||||
setIsChatModerator(scopes?.includes('MODERATOR'));
|
||||
setChatAuthenticated(authenticated);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user