From 6a212e655a53000f7660f89579fbb282121e9149 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 1 May 2024 14:31:23 +0300 Subject: =?UTF-8?q?fixes=20#4385=20(Telegram+tabSRMM:=20=D0=B2=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9=20=D0=B6=D1=83=D1=80?= =?UTF-8?q?=D0=BD=D0=B0=D0=BB=20=D0=BD=D0=B5=20=D0=BF=D0=BE=D0=BA=D0=B0?= =?UTF-8?q?=D0=B7=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=20=D0=BC=D0=BE=D0=B9=20?= =?UTF-8?q?=D0=BD=D0=B8=D0=BA=20=D0=B2=20=D0=BF=D1=80=D0=B8=D0=B2=D0=B0?= =?UTF-8?q?=D1=82=D0=B0=D1=85)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/TabSRMM/src/msgdlgother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp index 61ecf25175..b7e1b1e781 100644 --- a/plugins/TabSRMM/src/msgdlgother.cpp +++ b/plugins/TabSRMM/src/msgdlgother.cpp @@ -1181,7 +1181,7 @@ void CMsgDialog::GetMyNick() { ptrW tszNick(Contact::GetInfo(CNF_CUSTOMNICK, 0, m_cache->getActiveProto())); if (tszNick == nullptr) - tszNick = Contact::GetInfo(CNF_NICK, 0, m_cache->getActiveProto()); + tszNick = Contact::GetInfo(CNF_DISPLAY, 0, m_cache->getActiveProto()); if (tszNick != nullptr) { if (mir_wstrlen(tszNick) == 0 || !mir_wstrcmp(tszNick, TranslateT("'(Unknown contact)'"))) wcsncpy_s(m_wszMyNickname, (m_myUin[0] ? m_myUin : TranslateT("'(Unknown contact)'")), _TRUNCATE); -- cgit v1.2.3