diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-07-25 17:09:11 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-07-25 17:09:11 +0000 |
commit | 0c8684347dbae1a414176968edf72ad049151592 (patch) | |
tree | 5dac9f6900ab003f9ca40b9323fe61db1c08e5c7 /protocols/FacebookRM/src/contacts.cpp | |
parent | a757184e5db3112d3de0b69eec7d39b937e396bc (diff) |
Facebook: Some minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5482 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r-- | protocols/FacebookRM/src/contacts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp index 7c42c1a951..6f57f221aa 100644 --- a/protocols/FacebookRM/src/contacts.cpp +++ b/protocols/FacebookRM/src/contacts.cpp @@ -118,7 +118,7 @@ HANDLE FacebookProto::AddToContactList(facebook_user* fbu, ContactType type, boo void FacebookProto::SetAllContactStatuses(int status, bool reset_client)
{
for (HANDLE hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) {
- if ( isChatRoom(hContact))
+ if (isChatRoom(hContact))
continue;
if (reset_client) {
@@ -140,7 +140,7 @@ void FacebookProto::SetAllContactStatuses(int status, bool reset_client) }*/
}
- if (getWord(hContact, "Status", ID_STATUS_OFFLINE) != status)
+ if (getWord(hContact, "Status", 0) != status)
setWord(hContact, "Status", status);
}
}
|