diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-02-12 17:45:17 +0100 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-02-12 17:49:17 +0100 |
commit | d4354da54f5a6df55a1b072d4b00adc59ba4268b (patch) | |
tree | ed338b5bab8ffb0107fdd3779a4724580de0a3f2 /protocols/FacebookRM/src/proto.cpp | |
parent | 1a127084af5c2db48eb9e92c967ca96a06d27d30 (diff) |
Facebook: Notify number of loaded items (when manually triggered)
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index b1abf860a0..30ca138e91 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -653,8 +653,7 @@ INT_PTR FacebookProto::CheckNewsfeeds(WPARAM, LPARAM) if (ctrlPressed) { facy.last_feeds_update_ = 0; } - NotifyEvent(m_tszUserName, TranslateT("Loading wall posts..."), NULL, EVENT_OTHER); - ForkThread(&FacebookProto::ProcessFeeds, NULL); + ForkThread(&FacebookProto::ProcessFeeds, MANUALLY_TRIGGERED); } return 0; } @@ -662,8 +661,7 @@ INT_PTR FacebookProto::CheckNewsfeeds(WPARAM, LPARAM) INT_PTR FacebookProto::CheckFriendRequests(WPARAM, LPARAM) { if (!isOffline()) { - NotifyEvent(m_tszUserName, TranslateT("Loading friendship requests..."), NULL, EVENT_OTHER); - ForkThread(&FacebookProto::ProcessFriendRequests, NULL); + ForkThread(&FacebookProto::ProcessFriendRequests, MANUALLY_TRIGGERED); } return 0; } @@ -671,8 +669,7 @@ INT_PTR FacebookProto::CheckFriendRequests(WPARAM, LPARAM) INT_PTR FacebookProto::CheckNotifications(WPARAM, LPARAM) { if (!isOffline()) { - NotifyEvent(m_tszUserName, TranslateT("Loading notifications..."), NULL, EVENT_OTHER); - ForkThread(&FacebookProto::ProcessNotifications, NULL); + ForkThread(&FacebookProto::ProcessNotifications, MANUALLY_TRIGGERED); } return 0; } @@ -680,8 +677,7 @@ INT_PTR FacebookProto::CheckNotifications(WPARAM, LPARAM) INT_PTR FacebookProto::CheckMemories(WPARAM, LPARAM) { if (!isOffline()) { - NotifyEvent(m_tszUserName, TranslateT("Loading memories..."), NULL, EVENT_OTHER); - ForkThread(&FacebookProto::ProcessMemories, NULL); + ForkThread(&FacebookProto::ProcessMemories, MANUALLY_TRIGGERED); } return 0; } |