From f31e96d6bb51448a87edd820ebca630ca576d890 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 4 Dec 2020 17:10:46 +0100 Subject: Improve contact description in OMEMO warnings fixes #947 --- libdino/src/util/display_name.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdino/src') 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; -- cgit v1.2.3-54-g00ecf