summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/messages.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-10-02 20:08:00 +0000
committerRobert Pösel <robyer@seznam.cz>2013-10-02 20:08:00 +0000
commitbed8dcfa17b2f9de35a145826c2a4201e6daff13 (patch)
tree2111da805d7737ae05779199d7ee200d778b3987 /protocols/FacebookRM/src/messages.cpp
parent8fecb411c56387ef6db40abe96b8c935fddc6083 (diff)
Facebook: Multi user chat improvements
- Load unread messages at login - Mark received messages as read git-svn-id: http://svn.miranda-ng.org/main/trunk@6313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/messages.cpp')
-rw-r--r--protocols/FacebookRM/src/messages.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp
index 8ca7a8c2c1..f64addb82a 100644
--- a/protocols/FacebookRM/src/messages.cpp
+++ b/protocols/FacebookRM/src/messages.cpp
@@ -99,6 +99,8 @@ void FacebookProto::SendChatMsgWorker(void *p)
if (!tid.empty()) {
if (facy.send_message(tid, data->msg, &err_message, MESSAGE_TID))
UpdateChat(data->chat_id.c_str(), facy.self_.user_id.c_str(), facy.self_.real_name.c_str(), data->msg.c_str());
+ else
+ UpdateChat(data->chat_id.c_str(), NULL, NULL, err_message.c_str());
}
}