aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-03-31 13:40:00 +0200
committerChristian Schneppe <christian@pix-art.de>2019-03-31 13:40:00 +0200
commit4a9fa103744e7a87be3a4e8085680eb790e935e7 (patch)
tree9802578dc14581a767014cc77b3901bf0a047db3
parentf2423a674a662d932d65de9712ae50aea38879dd (diff)
differ between group chat and channel in tablet mode
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationFragment.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
index 5f61fbf47..245794c59 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
@@ -1122,11 +1122,12 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
}
if (getFragmentManager().findFragmentById(R.id.secondary_fragment) != null) {
if (conversation.getMode() == Conversation.MODE_MULTI) {
+ menuGroupDetails.setTitle(conversation.getMucOptions().isPrivateAndNonAnonymous() ? R.string.action_group_details : R.string.channel_details);
menuGroupDetails.setVisible(true);
menuContactDetails.setVisible(false);
} else {
menuGroupDetails.setVisible(false);
- menuContactDetails.setVisible(true);
+ menuContactDetails.setVisible(!this.conversation.withSelf());
}
} else {
menuGroupDetails.setVisible(false);