summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/entities.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-23 09:43:44 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-23 09:43:44 +0000
commit80562f021ec5144326fb940422bfbd974bb74732 (patch)
tree350a55451884c1f3ebab276ffedebf0c8e1a1592 /protocols/FacebookRM/src/entities.h
parent775eca92d90a473e087d4598a8539b7842c631b0 (diff)
Facebook: Fixed loading own name and saving names improvements + hidden setting "NameAsNick" to not save real name as nickname (but it's pretty useless/ugly now)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r--protocols/FacebookRM/src/entities.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index 188bd19df8..0e8fb29522 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -28,6 +28,7 @@ struct facebook_user
std::string user_id;
std::string real_name;
+ std::string nick;
unsigned int status_id;
unsigned int gender;
@@ -43,7 +44,7 @@ struct facebook_user
facebook_user()
{
this->handle = NULL;
- this->user_id = this->real_name = this->image_url = "";
+ this->user_id = this->real_name = this->nick = this->image_url = "";
this->status_id = ID_STATUS_OFFLINE;
this->gender = this->last_active = 0;
this->deleted = this->idle = false;
@@ -55,6 +56,7 @@ struct facebook_user
this->handle = fu->handle;
this->user_id = fu->user_id;
this->real_name = fu->real_name;
+ this->nick = fu->nick;
this->status_id = fu->status_id;
this->gender = fu->gender;
this->last_active = fu->last_active;