summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/dialogs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-25 13:19:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-25 13:19:35 +0000
commit76e343ab968fb6f194333fb0ec7057eaf621bcd4 (patch)
treed26a6621db55ef37a33347b157dd228474a9089e /protocols/WhatsApp/src/dialogs.cpp
parentdae9bc184b44c2b0c70b7996f202d6a7fa2dd4a4 (diff)
an option added to use the remote timestamps for messages (patch by Cassio is well received)
git-svn-id: http://svn.miranda-ng.org/main/trunk@14684 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/dialogs.cpp')
-rw-r--r--protocols/WhatsApp/src/dialogs.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/dialogs.cpp b/protocols/WhatsApp/src/dialogs.cpp
index 48d476286c..9e8aac45ee 100644
--- a/protocols/WhatsApp/src/dialogs.cpp
+++ b/protocols/WhatsApp/src/dialogs.cpp
@@ -6,7 +6,7 @@
class COptionsDlg : public CProtoDlgBase<WhatsAppProto>
{
CCtrlEdit m_pw1, m_pw2, m_cc, m_login, m_nick, m_group;
- CCtrlCheck m_ssl, m_autorun;
+ CCtrlCheck m_ssl, m_autorun, m_remoteTime;
CCtrlButton m_request, m_register;
public:
@@ -16,6 +16,7 @@ public:
m_pw1(this, IDC_PW),
m_pw2(this, IDC_PW2),
m_ssl(this, IDC_SSL),
+ m_remoteTime(this, IDC_REMOTE_TIME),
m_nick(this, IDC_NICK),
m_group(this, IDC_DEFGROUP),
m_login(this, IDC_LOGIN),
@@ -24,6 +25,7 @@ public:
m_register(this, IDC_BUTTON_REGISTER)
{
CreateLink(m_ssl, WHATSAPP_KEY_SSL, DBVT_BYTE, false);
+ CreateLink(m_remoteTime, WHATSAPP_KEY_USE_REMOTE_TIME, DBVT_BYTE, false);
CreateLink(m_autorun, WHATSAPP_KEY_AUTORUNCHATS, DBVT_BYTE, true);
CreateLink(m_cc, WHATSAPP_KEY_CC, _T(""));