summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-11-27 16:30:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-11-27 16:30:58 +0300
commit6ff0fc99fc3b35f5d11e40a0143ce70e7a1469fc (patch)
tree05c2f361b7b5321b9fd93cf5be1c4e1ff1433b0b /protocols/WhatsApp/src/proto.h
parent2736fc87cc5fb5329f7d5b3a100560da1fd84a1b (diff)
fixes #3237 (WhatsApp: при удалении учётной записи из Миранды разрывать и сопряжение с телефоном)
Diffstat (limited to 'protocols/WhatsApp/src/proto.h')
-rw-r--r--protocols/WhatsApp/src/proto.h6
1 files changed, 4 insertions, 2 deletions
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<WhatsAppProto>
{
friend class WANoise;
friend class CWhatsAppQRDlg;
+ friend class COptionsDlg;
class CWhatsAppProtoImpl
{
@@ -284,7 +285,7 @@ class WhatsAppProto : public PROTO<WhatsAppProto>
}
} 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<WhatsAppProto>
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<char> &jids, void *pUserInfo);
void SetServerStatus(int iStatus);