summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsApp/src/proto.h')
-rw-r--r--protocols/WhatsApp/src/proto.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h
index 4d5c8773b7..4f52f0409e 100644
--- a/protocols/WhatsApp/src/proto.h
+++ b/protocols/WhatsApp/src/proto.h
@@ -53,17 +53,6 @@ struct WARequest
void *pUserInfo;
};
-struct WADevice
-{
- WADevice(const char *_1, int _2) :
- jid(_1),
- key_index(_2)
- {}
-
- WAJid jid;
- int key_index;
-};
-
struct WAPersistentHandler
{
WAPersistentHandler(const char *_1, const char *_2, const char *_3, const char *_4, WA_PKT_HANDLER _5) :
@@ -284,7 +273,7 @@ class WhatsAppProto : public PROTO<WhatsAppProto>
mir_cs m_csOwnMessages;
OBJLIST<WAOwnMessage> m_arOwnMsgs;
- OBJLIST<WADevice> m_arDevices;
+ OBJLIST<WAJid> m_arDevices;
WAUser* FindUser(const char *szId);
WAUser* AddUser(const char *szId, bool bTemporary);