summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-01-01 18:05:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-01-01 18:05:00 +0300
commitc4a542557cb47af428d1397b97f652a65cffd6c6 (patch)
tree4ad0b5e31d57f9dce5a26e96721e2a5638a87ebe /protocols/Telegram/src/options.cpp
parentf828d2569303fa4b26bee503dc9f438fd1fe0c7d (diff)
fixes #3286 (Telegram: ability to identify Miranda's session)
Diffstat (limited to 'protocols/Telegram/src/options.cpp')
-rw-r--r--protocols/Telegram/src/options.cpp4
1 files changed, 3 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
class COptionsDlg : public CProtoDlgBase<CMTProto>
{
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)