summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/constants.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-07-25 19:20:52 +0000
committerRobert Pösel <robyer@seznam.cz>2016-07-25 19:20:52 +0000
commitf594c8c321533e59d66e7d47ab1a3cdbf551ad90 (patch)
treed0a74f6a0d87d192f21dd905941ade79a841c1bb /protocols/FacebookRM/src/constants.h
parent0a110324bc5c7316fc52d9d86137d40759508794 (diff)
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
Diffstat (limited to 'protocols/FacebookRM/src/constants.h')
-rw-r--r--protocols/FacebookRM/src/constants.h6
1 files changed, 6 insertions, 0 deletions
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;