Message List: Faster scroll down button

This commit is contained in:
Alexander Zinchuk 2023-04-15 13:51:41 +02:00
parent 56b0df97e4
commit 2aa693eece

View File

@ -146,7 +146,7 @@ addActionHandler('loadViewportMessages', (global, actions, payload): ActionRetur
newViewportIds, areSomeLocal, areAllLocal,
} = getViewportSlice(historyIds, offsetId, LoadMoreDirection.Around);
if (areSomeLocal && newViewportIds.length >= MESSAGE_LIST_SLICE) {
if (areSomeLocal) {
global = safeReplaceViewportIds(global, chatId, threadId, newViewportIds, tabId);
}