From c5246c7f79804274be40cad3cb8d48fe1f67e050 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Tue, 9 Jun 2015 18:43:25 +0000 Subject: Facebook: MessageState support. git-svn-id: http://svn.miranda-ng.org/main/trunk@14088 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/communication.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src/communication.cpp') 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); } -- cgit v1.2.3