diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-06-09 18:43:25 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-06-09 18:43:25 +0000 |
commit | c5246c7f79804274be40cad3cb8d48fe1f67e050 (patch) | |
tree | 8999a16793c90a8055f2f15e9b3dda51312cbfd9 /protocols/FacebookRM/src/communication.cpp | |
parent | 8423eadde65c72c96392c506068c7977621f28e7 (diff) |
Facebook: MessageState support.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14088 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index fde25c036f..342845436f 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -691,8 +691,9 @@ void facebook_client::erase_reader(MCONTACT hContact) if (parent->isChatRoom(hContact)) { parent->delSetting(hContact, FACEBOOK_KEY_MESSAGE_READERS); } + if (!ServiceExists("MessageState/DummyService")) + parent->delSetting(hContact, FACEBOOK_KEY_MESSAGE_READ); - parent->delSetting(hContact, FACEBOOK_KEY_MESSAGE_READ); readers.erase(hContact); CallService(MS_MSG_SETSTATUSTEXT, (WPARAM)hContact, NULL); } |