aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2019-12-07 20:05:52 +0100
committerChristian Schneppe <christian.schneppe@pix-art.de>2019-12-07 20:05:52 +0100
commit539302ee367dbb9b2f2c4fc5f0d41ebda35376f0 (patch)
tree2e6129f3f99843927a005cd8a1446d5946a334df /src/main/java
parent587a719e8565b7ef1eec28f7b31a43a721e5bfdb (diff)
don't show real username in quotes
fixes #415
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationFragment.java6
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;
}