From 177df2b5ef6241ca00a5e7ff49e632514cc518fb Mon Sep 17 00:00:00 2001 From: Eduard Kuzmenko Date: Wed, 9 Mar 2022 22:49:34 +0200 Subject: [PATCH] Fix opening pinned messages list --- .env | 4 ++-- src/components/chat/input.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env b/.env index bf749f62..6fd9673b 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ API_ID=1025907 API_HASH=452b0359b988148995f22ff0f4229750 VERSION=1.2.0 -VERSION_FULL=1.2.0 (123) -BUILD=123 +VERSION_FULL=1.2.0 (124) +BUILD=124 diff --git a/src/components/chat/input.ts b/src/components/chat/input.ts index dab0bf1e..8350d668 100644 --- a/src/components/chat/input.ts +++ b/src/components/chat/input.ts @@ -1263,7 +1263,9 @@ export default class ChatInput { }); } - this.updateOffset(null, false, true); + if(this.newMessageWrapper) { + this.updateOffset(null, false, true); + } if(botCommandsToggle) { this.hasBotCommands = undefined;