diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java index a60a7e6cd..fb79da967 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java @@ -1348,11 +1348,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke try { final Contact contact = selectedMessage.getContact(); if (conversation.getMode() == Conversation.MODE_MULTI) { - if (contact != null) { - user = contact.getDisplayName(); - } else { - user = UIHelper.getDisplayedMucCounterpart(selectedMessage.getCounterpart()); - } + user = UIHelper.getDisplayedMucCounterpart(selectedMessage.getCounterpart()); } else { user = contact != null ? contact.getDisplayName() : null; } |