diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-07-25 19:20:55 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-07-25 19:20:55 +0000 |
commit | b77891cf703512e3e4d957b1fda69a6a6e22995b (patch) | |
tree | 1b8e4f71eab9b2a46e9ce70f353bdb879c3846ff /protocols/FacebookRM/src/process.cpp | |
parent | f594c8c321533e59d66e7d47ab1a3cdbf551ad90 (diff) |
Facebook: Small fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@17130 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/process.cpp')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index 5428a4f5ec..95c8e143f2 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -120,8 +120,8 @@ void FacebookProto::ProcessFriendList(void*) } // Update contact type - if (getByte(hContact, FACEBOOK_KEY_CONTACT_TYPE, 0) != CONTACT_FRIEND) { - setByte(hContact, FACEBOOK_KEY_CONTACT_TYPE, CONTACT_FRIEND); + if (getByte(hContact, FACEBOOK_KEY_CONTACT_TYPE) != fbu->type) { + setByte(hContact, FACEBOOK_KEY_CONTACT_TYPE, fbu->type); // TODO: remove that popup and use "Contact added you" event? } |