aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/util/display_name.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-12-04 17:10:46 +0100
committerfiaxh <git@lightrise.org>2020-12-04 17:16:09 +0100
commitf31e96d6bb51448a87edd820ebca630ca576d890 (patch)
treea5073e29a7520d7356c7641545aea024ddd06d8e /libdino/src/util/display_name.vala
parentc0be0f5f85e9976400be5a6f7f3898366ecbbad4 (diff)
downloaddino-f31e96d6bb51448a87edd820ebca630ca576d890.tar.gz
dino-f31e96d6bb51448a87edd820ebca630ca576d890.zip
Improve contact description in OMEMO warnings
fixes #947
Diffstat (limited to 'libdino/src/util/display_name.vala')
-rw-r--r--libdino/src/util/display_name.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/util/display_name.vala b/libdino/src/util/display_name.vala
index 9296fbf3..7fa741af 100644
--- a/libdino/src/util/display_name.vala
+++ b/libdino/src/util/display_name.vala
@@ -84,8 +84,8 @@ namespace Dino {
}
}
- // If it's us (jid=our real full JID), display our nick
- if (conversation.type_ == Conversation.Type.GROUPCHAT_PM && conversation.account.bare_jid.equals_bare(jid)) {
+ // If it's us (jid=our real full JID), display our nick
+ if (conversation.type_ == Conversation.Type.GROUPCHAT_PM && conversation.account.bare_jid.equals_bare(jid)) {
var muc_conv = stream_interactor.get_module(ConversationManager.IDENTITY).get_conversation(conversation.counterpart.bare_jid, conversation.account, Conversation.Type.GROUPCHAT);
if (muc_conv != null && muc_conv.nickname != null) {
return muc_conv.nickname;