diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-07 23:47:48 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-07 23:47:48 +0200 |
commit | eabedee9444409c9de5f779e5f392440989db52e (patch) | |
tree | ed9a006f4f87eaed442ced7d9a0faf3c5f80c1ed /src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java | |
parent | 1def6c8c04c0923c8d645325ef5ac160cef4d501 (diff) |
do not highlight users when not participating
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java index cbcd573b9..b9113458f 100644 --- a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java @@ -431,6 +431,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers menu.setHeaderTitle(name); MenuItem sendPrivateMessage = menu.findItem(R.id.send_private_message); MenuItem highlightInMuc = menu.findItem(R.id.highlight_in_muc); + highlightInMuc.setVisible(true); if (user.getRealJid() != null) { MenuItem startConversation = menu.findItem(R.id.start_conversation); MenuItem giveMembership = menu.findItem(R.id.give_membership); @@ -477,7 +478,6 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers sendPrivateMessage.setVisible(false); } } - highlightInMuc.setVisible(self.getRole().ranks(MucOptions.Role.PARTICIPANT)); } } |