feat: use hosts mutelist for chat

resolves #70
This commit is contained in:
2023-08-02 23:13:05 +02:00
parent af14b92ab4
commit 26b502cf54
3 changed files with 36 additions and 4 deletions

View File

@ -47,7 +47,7 @@ export function LoggedInMuteButton({ pubkey }: { pubkey: string }) {
<AsyncButton
type="button"
className="btn delete-button"
onClick={() => isMuted ? unmute() : mute()}
onClick={() => (isMuted ? unmute() : mute())}
>
{isMuted ? "Unmute" : "Mute"}
</AsyncButton>