diff options
Diffstat (limited to 'protocols/FacebookRM/src/chat.cpp')
-rw-r--r-- | protocols/FacebookRM/src/chat.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/chat.cpp b/protocols/FacebookRM/src/chat.cpp index d7d725917a..b4a8f3511e 100644 --- a/protocols/FacebookRM/src/chat.cpp +++ b/protocols/FacebookRM/src/chat.cpp @@ -424,6 +424,8 @@ void FacebookProto::PrepareNotificationsChatRoom() { }
void FacebookProto::UpdateNotificationsChatRoom(facebook_notification *notification) {
+ ScopedLock s(facy.notifications_lock_);
+
if (!getBool(FACEBOOK_KEY_NOTIFICATIONS_CHATROOM, DEFAULT_NOTIFICATIONS_CHATROOM))
return;
|