From 5627d5b9896d5de3d8b69270715acd092da476d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 5 Mar 2017 12:25:40 +0100 Subject: Facebook: Raise limit for ignoring duplicated messages Recently it wasn't hard to experience duplicated messages because Facebook sent us so many duplicit events (mainly as response to mark message as read). With this commit it should be better now. --- protocols/FacebookRM/src/constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/FacebookRM/src/constants.h b/protocols/FacebookRM/src/constants.h index 5ed953a730..3a8da1cdcf 100644 --- a/protocols/FacebookRM/src/constants.h +++ b/protocols/FacebookRM/src/constants.h @@ -65,7 +65,7 @@ along with this program. If not, see . #define FACEBOOK_GROUP_NAME_LIMIT 100 #define FACEBOOK_MESSAGES_ON_OPEN_LIMIT 99 #define FACEBOOK_TYPING_TIME 60 -#define FACEBOOK_IGNORE_COUNTER_LIMIT 30 // how many consequent requests it should keep info about duplicit message ids +#define FACEBOOK_IGNORE_COUNTER_LIMIT 100 // how many consequent requests it should keep info about duplicit message ids #define FACEBOOK_PING_TIME 600 // every 10 minutes send activity_ping (it is just random/guessed value) #define MAX_NEWSFEED_LEN 500 -- cgit v1.2.3