From f594c8c321533e59d66e7d47ab1a3cdbf551ad90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 25 Jul 2016 19:20:52 +0000 Subject: Facebook: Improve loading users in chatrooms Fix loading all names (previously it won't loaded name of last user), load also former participants, code refactoring git-svn-id: http://svn.miranda-ng.org/main/trunk@17129 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/constants.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocols/FacebookRM/src/constants.h') diff --git a/protocols/FacebookRM/src/constants.h b/protocols/FacebookRM/src/constants.h index 389f4eec65..c3dfbc9cc3 100644 --- a/protocols/FacebookRM/src/constants.h +++ b/protocols/FacebookRM/src/constants.h @@ -189,6 +189,12 @@ enum MessageType { CALL = 2, // Video call }; +enum ParticipantRole { + ROLE_ME = 0, + ROLE_FRIEND = 1, + ROLE_NONE = 2 +}; + typedef struct { const char *name; const char *id; -- cgit v1.2.3