From 3a30fdfc6c545ba51cf1587b58b22316f2622e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sat, 16 Jul 2016 13:38:08 +0000 Subject: Facebook: Improve working with different user types (friend, user, page) Also simplify arguments of AddToContactList method. And don't show auth items in contact menu for page contacts. git-svn-id: http://svn.miranda-ng.org/main/trunk@17099 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/entities.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/FacebookRM/src/entities.h') diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h index a12404de74..e289a176eb 100644 --- a/protocols/FacebookRM/src/entities.h +++ b/protocols/FacebookRM/src/entities.h @@ -43,6 +43,7 @@ struct facebook_user bool updated; ClientType client; + ContactType type; facebook_user() { @@ -51,6 +52,7 @@ struct facebook_user this->gender = this->last_active = 0; this->deleted = this->idle = this->updated = false; this->client = CLIENT_WEB; + this->type = CONTACT_NONE; } TCHAR *getMirVer() -- cgit v1.2.3