mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 19:55:53 +03:00
chat-resource: fixing admin detection
This commit is contained in:
parent
5426f2aff8
commit
79f0fd98dd
@ -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]
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user