From 6b1bce1588c84ce3a93334c7c8ff4a2cea350b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 16 Apr 2014 07:51:37 +0000 Subject: Facebook: Fix refreshing unread notifications count git-svn-id: http://svn.miranda-ng.org/main/trunk@8982 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index 9c85ebc08d..fcc9d2cb83 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -681,7 +681,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa proto->UpdateChat(thread_id.c_str(), NULL, NULL, message.c_str()); } - } else if (t == "notifications_read") { + } else if (t == "notifications_read" || t == "notifications_seen") { JSONNODE *alerts = json_get(it, "alert_ids"); for (unsigned int j = 0; j < json_size(alerts); j++) { -- cgit v1.2.3