Skip to content

Fix conflicting check for Archive Chat context item#1382

Open
Kylmakalle wants to merge 1 commit intoTelegramMessenger:masterfrom
Kylmakalle:patch-2
Open

Fix conflicting check for Archive Chat context item#1382
Kylmakalle wants to merge 1 commit intoTelegramMessenger:masterfrom
Kylmakalle:patch-2

Conversation

@Kylmakalle
Copy link

@Kylmakalle Kylmakalle commented Apr 1, 2024

!isSavedMessages check is defined as let isSavedMessages = peerId == context.account.peerId conflicts with peerId == context.account.peerId, meaning the app will never show the "Archive"/"Unarchive" button when long-tapping any chat in the chat list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants