summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-03-05 12:25:40 +0100
committerRobert Pösel <robyer@seznam.cz>2017-03-05 12:25:40 +0100
commit5627d5b9896d5de3d8b69270715acd092da476d6 (patch)
tree1b86420ac36bd3700bf0e4068cf956c2ed9f69c7 /protocols/FacebookRM
parentfe230a8f187219b29eff8d2d89ab944656c42461 (diff)
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.
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/src/constants.h2
1 files changed, 1 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
#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