diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-11-19 16:58:01 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-11-19 16:58:01 +0000 |
commit | 8586f966f558d317d79b3ec25d0bf21d3d92498d (patch) | |
tree | b0e7c9e04d8a841cc9eb546372624fb7f1a91799 /protocols/FacebookRM/src/entities.h | |
parent | 0e80ad0d4c150fa947849cdad07a7d0d34d7340e (diff) |
Facebook: Correctly load contacts on mobile phone that are online right now (also removed old related option)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6936 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r-- | protocols/FacebookRM/src/entities.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h index f1fc57055e..a52c3ed701 100644 --- a/protocols/FacebookRM/src/entities.h +++ b/protocols/FacebookRM/src/entities.h @@ -36,6 +36,8 @@ struct facebook_user std::string image_url;
bool deleted;
+ bool idle;
+ bool mobile;
facebook_user()
{
@@ -43,19 +45,21 @@ struct facebook_user this->user_id = this->real_name = this->image_url = "";
this->status_id = ID_STATUS_OFFLINE;
this->gender = this->last_active = 0;
- this->deleted = false;
+ this->deleted = this->idle = this->mobile = false;
}
facebook_user(facebook_user* fu)
{
this->handle = fu->handle;
- this->image_url = fu->image_url;
+ this->user_id = fu->user_id;
this->real_name = fu->real_name;
this->status_id = fu->status_id;
- this->user_id = fu->user_id;
this->gender = fu->gender;
this->last_active = fu->last_active;
- this->deleted = fu->deleted;
+ this->image_url = fu->image_url;
+ this->deleted = fu->deleted;
+ this->idle = fu->idle;
+ this->mobile = fu->mobile;
}
};
|