(feat): update room metadata
(qol): update todos
This commit is contained in:
parent
2d1e2c7bf8
commit
b49e96a458
5 changed files with 8 additions and 7 deletions
|
|
@ -48,7 +48,7 @@ function Overlay({
|
|||
user: User;
|
||||
participant: Participant;
|
||||
}) {
|
||||
const isAdmin = getRoomMetadata()?.admin === user.user_id;
|
||||
const isAdmin = getRoomMetadata()?.admins.includes(user.user_id) === true;
|
||||
const isDeafened = participant.attributes["deafened"] === "true";
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in a new issue