From 669c32164d32129e6226f9f586f9ebfebd6fa9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 1 Sep 2016 01:09:56 +0000 Subject: Facebook: Add support for forgotten PHONE_CALL and cleanup code git-svn-id: http://svn.miranda-ng.org/main/trunk@17233 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/constants.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'protocols/FacebookRM/src/constants.h') diff --git a/protocols/FacebookRM/src/constants.h b/protocols/FacebookRM/src/constants.h index 7d07a010d6..dd389df257 100644 --- a/protocols/FacebookRM/src/constants.h +++ b/protocols/FacebookRM/src/constants.h @@ -187,13 +187,14 @@ enum ClientType { // Each type then could have also separate class representing it. And when giving it in some list, make it map of arrays with key=thread_id to group it by contact/chat, to have it more effective // Use also for Poke and such events... enum MessageType { - MESSAGE = 1, // Classic message - CALL = 2, // Video call - ADMIN_TEXT = 3, - SUBSCRIBE = 4, - UNSUBSCRIBE = 5, - THREAD_NAME = 6, - THREAD_IMAGE = 7, + MESSAGE = 1, + PHONE_CALL = 2, + VIDEO_CALL = 3, + ADMIN_TEXT = 4, + SUBSCRIBE = 5, + UNSUBSCRIBE = 6, + THREAD_NAME = 7, + THREAD_IMAGE = 8, }; enum ParticipantRole { -- cgit v1.2.3