Use limit 1 in the first channel difference request.

This commit is contained in:
levlam 2021-06-16 05:25:44 +03:00
parent a36266a764
commit 8730e92d7c
1 changed files with 1 additions and 1 deletions

View File

@ -1633,7 +1633,7 @@ class MessagesManager : public Actor {
static constexpr int32 MAX_GET_HISTORY = 100; // server side limit
static constexpr int32 MAX_SEARCH_MESSAGES = 100; // server side limit
static constexpr int32 MIN_SEARCH_PUBLIC_DIALOG_PREFIX_LEN = 4; // server side limit
static constexpr int32 MIN_CHANNEL_DIFFERENCE = 10;
static constexpr int32 MIN_CHANNEL_DIFFERENCE = 1;
static constexpr int32 MAX_CHANNEL_DIFFERENCE = 100;
static constexpr int32 MAX_BOT_CHANNEL_DIFFERENCE = 100000; // server side limit
static constexpr int32 MAX_RECENTLY_FOUND_DIALOGS = 30; // some reasonable value