diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-03-04 12:05:59 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-03-04 12:05:59 +0000 |
commit | 921df52650b4d5bc6b725f28bbc0b3dd298d1989 (patch) | |
tree | 64ef035901d0568284324ca1bcb690cacee853e3 /protocols/FacebookRM/src/chat.cpp | |
parent | cdc3ce491f2ec062b717646f115d856775cbca9a (diff) |
Facebook: More unification for groupchat seen info and save groupchat "readers" into database in key "MessageReaders" (Unicode); Version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@12315 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/chat.cpp')
-rw-r--r-- | protocols/FacebookRM/src/chat.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/FacebookRM/src/chat.cpp b/protocols/FacebookRM/src/chat.cpp index f2108e48a6..4ed39f0afa 100644 --- a/protocols/FacebookRM/src/chat.cpp +++ b/protocols/FacebookRM/src/chat.cpp @@ -49,12 +49,7 @@ void FacebookProto::UpdateChat(const TCHAR *tchat_id, const char *id, const char gce.ptszUID = tid; CallServiceSync(MS_GC_EVENT, 0, reinterpret_cast<LPARAM>(&gce)); - // 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(); // TODO: move this to erase_reader method? - facy.erase_reader(ChatIDToHContact(std::tstring(tchat_id))); - } + facy.erase_reader(ChatIDToHContact(std::tstring(tchat_id))); } void FacebookProto::RenameChat(const char *chat_id, const char *name) |