From 53867c8c7ca7a578d8f36b619f352700ba34c9ad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Jan 2015 14:20:08 +0000 Subject: fix for a crash on message sending git-svn-id: http://svn.miranda-ng.org/main/trunk@11917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/WhatsAPI++/WAConnection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/WhatsApp/src/WhatsAPI++/WAConnection.h') diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h index 365c1e2d3d..91164a824f 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h +++ b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h @@ -369,7 +369,7 @@ private: void sendMessageWithBody(FMessage* message) throw(WAException); std::map* parseCategories(ProtocolTreeNode* node) throw(WAException); void parseMessageInitialTagAlreadyChecked(ProtocolTreeNode* node) throw(WAException); - ProtocolTreeNode getReceiptAck(const std::string& to, const std::string& id, const std::string& receiptType) throw(WAException); + ProtocolTreeNode* getReceiptAck(const std::string& to, const std::string& id, const std::string& receiptType) throw(WAException); std::string makeId(const std::string& prefix); void sendGetGroups(const std::string& id, const std::string& type) throw (WAException); void readGroupList(ProtocolTreeNode* node, std::vector& groups) throw (WAException); @@ -377,7 +377,7 @@ private: void readAttributeList(ProtocolTreeNode* node, std::vector& vector, const std::string& tag, const std::string& attribute) throw (WAException); void sendVerbParticipants(const std::string& gjid, const std::vector& participants, const std::string& id, const std::string& inner_tag) throw (WAException); bool supportsReceiptAcks(); - static ProtocolTreeNode getMessageNode(FMessage* message, ProtocolTreeNode* node); + static ProtocolTreeNode* getMessageNode(FMessage* message, ProtocolTreeNode* node); std::vector* processGroupSettings(const std::vector& gruops); public: -- cgit v1.2.3