From 6ff0fc99fc3b35f5d11e40a0143ce70e7a1469fc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 Nov 2022 16:30:58 +0300 Subject: =?UTF-8?q?fixes=20#3237=20(WhatsApp:=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8=D0=B8=20=D1=83=D1=87?= =?UTF-8?q?=D1=91=D1=82=D0=BD=D0=BE=D0=B9=20=D0=B7=D0=B0=D0=BF=D0=B8=D1=81?= =?UTF-8?q?=D0=B8=20=D0=B8=D0=B7=20=D0=9C=D0=B8=D1=80=D0=B0=D0=BD=D0=B4?= =?UTF-8?q?=D1=8B=20=D1=80=D0=B0=D0=B7=D1=80=D1=8B=D0=B2=D0=B0=D1=82=D1=8C?= =?UTF-8?q?=20=D0=B8=20=D1=81=D0=BE=D0=BF=D1=80=D1=8F=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=81=20=D1=82=D0=B5=D0=BB=D0=B5=D1=84=D0=BE?= =?UTF-8?q?=D0=BD=D0=BE=D0=BC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/WhatsApp/src/proto.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'protocols/WhatsApp/src/proto.h') diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index 0d4fd624a0..29f198e298 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -258,6 +258,7 @@ class WhatsAppProto : public PROTO { friend class WANoise; friend class CWhatsAppQRDlg; + friend class COptionsDlg; class CWhatsAppProtoImpl { @@ -284,7 +285,7 @@ class WhatsAppProto : public PROTO } } m_impl; - bool m_bTerminated, m_bRespawn, m_bUpdatedPrekeys; + bool m_bTerminated, m_bRespawn, m_bUpdatedPrekeys, m_bUnregister; ptrW m_tszDefaultGroup; CMStringA m_szJid; @@ -371,8 +372,9 @@ class WhatsAppProto : public PROTO void SendAck(const WANode &node); void SendReceipt(const char *pszTo, const char *pszParticipant, const char *pszId, const char *pszType); - void SendKeepAlive(); + void SendKeepAlive(void); int SendTextMessage(const char *jid, const char *pszMsg); + void SendUnregister(void); void SendUsync(const LIST &jids, void *pUserInfo); void SetServerStatus(int iStatus); -- cgit v1.2.3