Version 4.5.1: Fix excessive flood_wait trigger.
Regression was introduced in 1e8dfb7315
.
Fixes #25494.
This commit is contained in:
parent
19aa4f4acc
commit
d496d41e7e
|
@ -176,8 +176,8 @@ const char kOptionAutoScrollInactiveChat[] =
|
|||
|
||||
namespace {
|
||||
|
||||
constexpr auto kMessagesPerPageFirst = 10;
|
||||
constexpr auto kMessagesPerPage = 10;
|
||||
constexpr auto kMessagesPerPageFirst = 30;
|
||||
constexpr auto kMessagesPerPage = 50;
|
||||
constexpr auto kPreloadHeightsCount = 3; // when 3 screens to scroll left make a preload request
|
||||
constexpr auto kScrollToVoiceAfterScrolledMs = 1000;
|
||||
constexpr auto kSkipRepaintWhileScrollMs = 100;
|
||||
|
|
Loading…
Reference in New Issue