diff --git a/.env b/.env index c8e0a715..8ad92594 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ API_ID=1025907 API_HASH=452b0359b988148995f22ff0f4229750 VERSION=1.2.0 -VERSION_FULL=1.2.0 (117) -BUILD=117 +VERSION_FULL=1.2.0 (118) +BUILD=118 diff --git a/src/components/chat/bubbles.ts b/src/components/chat/bubbles.ts index f6e0e9af..6f6a503a 100644 --- a/src/components/chat/bubbles.ts +++ b/src/components/chat/bubbles.ts @@ -4483,7 +4483,7 @@ export default class ChatBubbles { const isBroadcast = this.appPeersManager.isBroadcast(peerId); //console.time('appImManager call getHistory'); - const pageCount = Math.min(30, windowSize.height / 75/* * 1.25 */ | 0); + const pageCount = Math.min(30, windowSize.height / 48/* * 1.25 */ | 0); //const loadCount = Object.keys(this.bubbles).length > 0 ? 50 : pageCount; const realLoadCount = isBroadcast ? 20 : (Object.keys(this.bubbles).length > 0 ? Math.max(35, pageCount) : pageCount); //const realLoadCount = pageCount;//const realLoadCount = 50;