From 17d9c9f20df8a9c2e5b53394b5c4a991a5534849 Mon Sep 17 00:00:00 2001 From: Grishka Date: Mon, 22 Feb 2021 11:37:30 +0300 Subject: [PATCH] Show muted state correctly --- .../java/me/grishka/houseclub/fragments/InChannelFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Houseclub/src/main/java/me/grishka/houseclub/fragments/InChannelFragment.java b/Houseclub/src/main/java/me/grishka/houseclub/fragments/InChannelFragment.java index 2edfd61b..518776ec 100644 --- a/Houseclub/src/main/java/me/grishka/houseclub/fragments/InChannelFragment.java +++ b/Houseclub/src/main/java/me/grishka/houseclub/fragments/InChannelFragment.java @@ -284,6 +284,9 @@ else if(user.isFollowedBySpeaker) raiseBtn.setEnabled(channel.isHandraiseEnabled); raiseBtn.setVisibility(svc.isSelfSpeaker() ? View.GONE : View.VISIBLE); muteBtn.setVisibility(svc.isSelfSpeaker() ? View.VISIBLE : View.GONE); + if(svc.isSelfSpeaker()){ + onUserMuteChanged(Integer.parseInt(ClubhouseSession.userID), svc.isMuted()); + } } @Override