summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/communication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r--protocols/FacebookRM/src/communication.cpp3
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);
}