chat-resource: fixing admin detection

This commit is contained in:
Hunter Miller 2022-01-26 10:29:04 -06:00
parent 5426f2aff8
commit 79f0fd98dd

View File

@ -89,7 +89,7 @@ const ChatResource = (props: ChatResourceProps): ReactElement => {
);
const isAdmin = useMemo(
() => (group ? group.tags.role.admin.has(`~${window.ship}`) : false),
() => group ? group.tags.role.admin.has(deSig(window.ship)) : false,
[group]
);