From 80562f021ec5144326fb940422bfbd974bb74732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 23 Apr 2014 09:43:44 +0000 Subject: 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 --- protocols/FacebookRM/src/entities.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src/entities.h') 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; -- cgit v1.2.3