From c4a542557cb47af428d1397b97f652a65cffd6c6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 1 Jan 2023 18:05:00 +0300 Subject: fixes #3286 (Telegram: ability to identify Miranda's session) --- protocols/Telegram/src/options.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols/Telegram/src/options.cpp') diff --git a/protocols/Telegram/src/options.cpp b/protocols/Telegram/src/options.cpp index 58a86ac374..d830c2122a 100644 --- a/protocols/Telegram/src/options.cpp +++ b/protocols/Telegram/src/options.cpp @@ -22,7 +22,7 @@ along with this program. If not, see . class COptionsDlg : public CProtoDlgBase { CCtrlCheck chkHideChats, chkUsePopups; - CCtrlEdit edtGroup, edtPhone; + CCtrlEdit edtGroup, edtPhone, edtDeviceName; ptrW m_wszOldGroup; public: @@ -32,10 +32,12 @@ public: chkHideChats(this, IDC_HIDECHATS), edtPhone(this, IDC_PHONE), edtGroup(this, IDC_DEFGROUP), + edtDeviceName(this, IDC_DEVICE_NAME), m_wszOldGroup(mir_wstrdup(ppro->m_wszDefaultGroup)) { CreateLink(edtPhone, ppro->m_szOwnPhone); CreateLink(edtGroup, ppro->m_wszDefaultGroup); + CreateLink(edtDeviceName, ppro->m_wszDeviceName); CreateLink(chkHideChats, ppro->m_bHideGroupchats); if (bFullDlg) -- cgit v1.2.3