summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/messages.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-29 15:34:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-29 15:34:37 +0000
commit25a7a059a20f51e6df201ba606e38c4aef45e8f0 (patch)
tree4bd42c4bc7cbd7b45d7db633d0e9aa8a42595e97 /protocols/WhatsApp/src/messages.cpp
parentddb498e9d73f3cba46791983ecece2371796f29b (diff)
- 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
Diffstat (limited to 'protocols/WhatsApp/src/messages.cpp')
-rw-r--r--protocols/WhatsApp/src/messages.cpp3
1 files changed, 1 insertions, 2 deletions
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 = &paramFMessage->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);