mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue