summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/json.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-05-25 18:11:53 +0000
committerRobert Pösel <robyer@seznam.cz>2012-05-25 18:11:53 +0000
commit1aa7fb19562f9462311e55dc0b9a7fac18c31180 (patch)
treeabe836fdcac52cf7291cec5a682ce414ebab176d /protocols/FacebookRM/json.cpp
parente45307525555ee23035c0d87fbac3ed8ce5a31e8 (diff)
Updated Facebook RM
git-svn-id: http://svn.miranda-ng.org/main/trunk@176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/json.cpp')
-rw-r--r--protocols/FacebookRM/json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/json.cpp b/protocols/FacebookRM/json.cpp
index 2231596882..bb92cb4434 100644
--- a/protocols/FacebookRM/json.cpp
+++ b/protocols/FacebookRM/json.cpp
@@ -503,7 +503,7 @@ int facebook_json_parser::parse_messages( void* data, std::vector< facebook_mess
facebook_user fbu;
fbu.user_id = user_id;
- HANDLE hContact = proto->AddToContactList(&fbu);
+ HANDLE hContact = proto->AddToContactList(&fbu, FACEBOOK_CONTACT_FRIEND);
if ( DBGetContactSettingWord(hContact,proto->m_szModuleName,"Status", 0) == ID_STATUS_OFFLINE )
DBWriteContactSettingWord(hContact,proto->m_szModuleName,"Status",ID_STATUS_ONLINE);