summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-05 09:03:20 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-05 09:03:20 +0000
commit5e8e5ed54e602e0de3d328098ff828cba441b2a0 (patch)
tree178212b37c358cb3f6d5b1c1f2ca195b49aa24d5 /protocols/FacebookRM/src/proto.cpp
parent7e7e977e3dd74fe09c62d7b345bbbbecf33602a4 (diff)
Facebook: Correct implementation of managing number of unread notifications
git-svn-id: http://svn.miranda-ng.org/main/trunk@8858 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r--protocols/FacebookRM/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index fc837ffaad..3a5b5d38dd 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -385,7 +385,7 @@ INT_PTR FacebookProto::GetNotificationsCount(WPARAM wParam, LPARAM lParam)
if (isOffline())
return 0;
- return facy.notifications_count_;
+ return facy.notifications.size();
}
//////////////////////////////////////////////////////////////////////////////