From 25a7a059a20f51e6df201ba606e38c4aef45e8f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 29 Jan 2015 15:34:37 +0000 Subject: - receipts for offline messages - slightly enilghtened login procedure - WHATSAPP_KEY_PUSH_NAME removed git-svn-id: http://svn.miranda-ng.org/main/trunk@11950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/messages.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/WhatsApp/src/messages.cpp') diff --git a/protocols/WhatsApp/src/messages.cpp b/protocols/WhatsApp/src/messages.cpp index 3f4210e9a2..d2f170a020 100644 --- a/protocols/WhatsApp/src/messages.cpp +++ b/protocols/WhatsApp/src/messages.cpp @@ -22,9 +22,8 @@ void WhatsAppProto::onMessageForMe(FMessage* paramFMessage, bool paramBoolean) msg = ¶mFMessage->data; } - if (isChatRoom) { + if (isChatRoom) msg->insert(0, std::string("[").append(paramFMessage->notifyname).append("]: ")); - } MCONTACT hContact = this->AddToContactList(paramFMessage->key.remote_jid, 0, false, isChatRoom ? NULL : paramFMessage->notifyname.c_str(), isChatRoom); -- cgit v1.2.3