aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/util.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/util.vala')
-rw-r--r--main/src/ui/util.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/ui/util.vala b/main/src/ui/util.vala
index 810ab13d..993a996f 100644
--- a/main/src/ui/util.vala
+++ b/main/src/ui/util.vala
@@ -40,6 +40,9 @@ public class Util : Object {
}
public static string get_conversation_display_name(StreamInteractor stream_interactor, Conversation conversation) {
+ if (conversation.type_ == Conversation.Type.GROUPCHAT_PM) {
+ return conversation.counterpart.resourcepart + " from " + get_display_name(stream_interactor, conversation.counterpart.bare_jid, conversation.account);
+ }
return get_display_name(stream_interactor, conversation.counterpart, conversation.account);
}