From cf361de1e030fdd9c171fc746e0f68258d91a959 Mon Sep 17 00:00:00 2001 From: Eric Mastro Date: Mon, 26 Apr 2021 18:46:07 +1000 Subject: [PATCH] feat: show ENS name in notifications MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: #2418. Chat notifications for one-on-one chats were showing only a user’s alias and not their ENS name if they have one. This PR now shows a user’s ENS name if they have one, or their alias if they don’t in one-on-one chat notifications. --- src/app/chat/view.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/chat/view.nim b/src/app/chat/view.nim index 5396a78c8e..9f5c3f7dac 100644 --- a/src/app/chat/view.nim +++ b/src/app/chat/view.nim @@ -515,7 +515,7 @@ QtObject: channel.chatType.int, msg.timestamp, msg.identicon, - msg.alias, + msg.userName, msg.hasMention, isAddedContact, channel.name)