Hide call buttons when on call
This commit is contained in:
parent
a7854c6083
commit
decc93532b
18 changed files with 622 additions and 366 deletions
3
ts/util/isMuted.ts
Normal file
3
ts/util/isMuted.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
export function isMuted(muteExpiresAt: undefined | number): boolean {
|
||||
return Boolean(muteExpiresAt && Date.now() < muteExpiresAt);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue