summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-16 07:51:37 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-16 07:51:37 +0000
commit6b1bce1588c84ce3a93334c7c8ff4a2cea350b13 (patch)
tree1733b79beb7187b3ab418fed3acfe22da6c7ba42 /protocols/FacebookRM/src
parent1ed2fe1252fa7b543a797aa73371f159dc576449 (diff)
Facebook: Fix refreshing unread notifications count
git-svn-id: http://svn.miranda-ng.org/main/trunk@8982 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r--protocols/FacebookRM/src/json.cpp2
1 files changed, 1 insertions, 1 deletions
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++) {