Skip to content

Commit

Permalink
fix(mute-conversations-toggle): make unmute option work
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGGamerM committed Sep 19, 2023
1 parent a1fbb73 commit 22bf884
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public void onError(ErrorResponse error){
UiUtils.confirmPinPost(item.parentFragment.getActivity(), item.parentFragment.getAccountID(), item.status, !item.status.pinned, s->{});
}else if(id==R.id.mute){
UiUtils.confirmToggleMuteUser(item.parentFragment.getActivity(), item.parentFragment.getAccountID(), account, relationship!=null && relationship.muting, r->{});
}else if (id==R.id.mute_conversation) {
}else if (id==R.id.mute_conversation || id==R.id.unmute_conversation) {
UiUtils.confirmToggleMuteConversation(item.parentFragment.getActivity(), item.parentFragment.getAccountID(), item.status, ()->{});
}else if(id==R.id.block){
UiUtils.confirmToggleBlockUser(item.parentFragment.getActivity(), item.parentFragment.getAccountID(), account, relationship!=null && relationship.blocking, r->{});
Expand Down

0 comments on commit 22bf884

Please sign in to comment.