summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/chat.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-03-04 12:05:55 +0000
committerRobert Pösel <robyer@seznam.cz>2015-03-04 12:05:55 +0000
commit26f28c7c13ef5ad4ef6986181f1ef4f46b85c627 (patch)
treed3ad64d946dd8ab0b3b2b5e18ee35789dc5cc0b7 /protocols/FacebookRM/src/chat.cpp
parentb8f9685565a64b1d04d545bfa1ffead2a84547cc (diff)
Facebook: Unify showing "seen info" for groupchats with classic contacts
This also fixes not showing loaded "seen info" when opening groupchat message window again git-svn-id: http://svn.miranda-ng.org/main/trunk@12313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/chat.cpp')
-rw-r--r--protocols/FacebookRM/src/chat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/chat.cpp b/protocols/FacebookRM/src/chat.cpp
index e516b6aec7..f2108e48a6 100644
--- a/protocols/FacebookRM/src/chat.cpp
+++ b/protocols/FacebookRM/src/chat.cpp
@@ -52,7 +52,8 @@ void FacebookProto::UpdateChat(const TCHAR *tchat_id, const char *id, const char
// TODO: keep it here or move it somewhere else?
std::map<std::tstring, facebook_chatroom*>::iterator chatroom = facy.chat_rooms.find(tchat_id);
if (chatroom != facy.chat_rooms.end()) {
- chatroom->second->message_readers.clear();
+ chatroom->second->message_readers.clear(); // TODO: move this to erase_reader method?
+ facy.erase_reader(ChatIDToHContact(std::tstring(tchat_id)));
}
}