diff options
author | fiaxh <git@mx.ax.lt> | 2018-11-02 15:23:58 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2018-11-02 15:23:58 +0100 |
commit | ddd17e720e9170ea7016e2fdf80f91808666ec36 (patch) | |
tree | 06d832bb0310c4886b8651a197193fd54b2085fc /main/src/ui/util | |
parent | 1e54a442ba78cd117c0262b9b5e83ef4438e5858 (diff) | |
download | dino-ddd17e720e9170ea7016e2fdf80f91808666ec36.tar.gz dino-ddd17e720e9170ea7016e2fdf80f91808666ec36.zip |
fixup 1e54a44
Diffstat (limited to 'main/src/ui/util')
-rw-r--r-- | main/src/ui/util/helper.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala index e2c8840f..e51b8344 100644 --- a/main/src/ui/util/helper.vala +++ b/main/src/ui/util/helper.vala @@ -61,7 +61,7 @@ public static string get_conversation_display_name(StreamInteractor stream_inter public static string get_display_name(StreamInteractor stream_interactor, Jid jid, Account account) { if (stream_interactor.get_module(MucManager.IDENTITY).is_groupchat(jid, account)) { string room_name = stream_interactor.get_module(MucManager.IDENTITY).get_room_name(account, jid); - if (room_name != null) { + if (room_name != null && room_name != jid.localpart) { return room_name; } return jid.bare_jid.to_string(); |