From cc9402b1daabb0a27065e5eb704948cc2f74f7df Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 8 Feb 2015 21:06:03 +0000 Subject: bunch of small fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12057 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp | 4 ++-- protocols/WhatsApp/src/WhatsAPI++/WAConnection.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/WhatsApp/src/WhatsAPI++') diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp index 16fafbf871..40d9970751 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp @@ -710,7 +710,7 @@ void WAConnection::sendGetGroups() throw (WAException) m_pMutex->unlock(); } -void WAConnection::sendGetPicture(const std::string &jid, const std::string &type) throw (WAException) +void WAConnection::sendGetPicture(const char *jid, const char *type) throw (WAException) { std::string id = makeId("iq_"); this->pending_server_requests[id] = new IqResultGetPhotoHandler(this, jid); @@ -852,7 +852,7 @@ void WAConnection::sendQueryLastOnline(const std::string &jid) throw (WAExceptio << XATTR("id", id) << XATTR("type", "get") << XATTR("to", jid) << XATTR("xmlns", "jabber:iq:last")); } -void WAConnection::sendSetPicture(const std::string &jid, std::vector* data, std::vector* preview) throw (WAException) +void WAConnection::sendSetPicture(const char *jid, std::vector* data, std::vector* preview) throw (WAException) { std::string id = this->makeId("set_photo_"); this->pending_server_requests[id] = new IqResultSetPhotoHandler(this, jid); diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h index bddfe1ccd7..957fcf7dfc 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h +++ b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h @@ -405,8 +405,8 @@ public: void sendRemoveParticipants(const std::string &gjid, const std::vector &participant) throw (WAException); void sendSetNewSubject(const std::string &gjid, const std::string &subject) throw (WAException); void sendStatusUpdate(std::string& status) throw (WAException); - void sendGetPicture(const std::string &jid, const std::string &type) throw (WAException); - void sendSetPicture(const std::string &jid, std::vector* data, std::vector* preview) throw (WAException); + void sendGetPicture(const char *jid, const char *type) throw (WAException); + void sendSetPicture(const char *jid, std::vector* data, std::vector* preview) throw (WAException); void sendDeleteAccount() throw(WAException); }; -- cgit v1.2.3