From cf0be00671d56bb18118e1491e7c1f0e131e7b3d Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 13 Sep 2015 14:32:53 +0000 Subject: Patch by Cassio: Another patch, which fixes last seen timestamps/presence due to a change in WA protocol: There is no longer a last seen request/response as this info is now received within the presence response. git-svn-id: http://svn.miranda-ng.org/main/trunk@15345 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/proto.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'protocols/WhatsApp/src/proto.cpp') diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp index a5384be1c6..0db6f3fa84 100644 --- a/protocols/WhatsApp/src/proto.cpp +++ b/protocols/WhatsApp/src/proto.cpp @@ -177,7 +177,6 @@ MCONTACT WhatsAppProto::AddToList(int flags, PROTOSEARCHRESULT *psr) if (!(flags & PALF_TEMPORARY)) db_unset(hContact, "CList", "NotOnList"); - m_pConnection->sendQueryLastOnline(jid.c_str()); m_pConnection->sendPresenceSubscriptionRequest(jid.c_str()); return hContact; } @@ -320,7 +319,6 @@ int WhatsAppProto::OnUserInfo(WPARAM, LPARAM hContact) { ptrA jid(getStringA(hContact, WHATSAPP_KEY_ID)); if (jid && isOnline()) { - m_pConnection->sendQueryLastOnline((char*)jid); m_pConnection->sendGetPicture((char*)jid, "image"); m_pConnection->sendPresenceSubscriptionRequest((char*)jid); } @@ -335,7 +333,6 @@ void WhatsAppProto::RequestFriendship(MCONTACT hContact) ptrA jid(getStringA(hContact, WHATSAPP_KEY_ID)); if (jid) { - m_pConnection->sendQueryLastOnline((char*)jid); m_pConnection->sendPresenceSubscriptionRequest((char*)jid); } } -- cgit v1.2.3