TelegramMessenger / Telegram-iOS

Telegram-iOS
5.4k stars 1.45k forks source link

Fix conflicting check for Archive Chat context item #1382

Open Kylmakalle opened 2 months ago

Kylmakalle commented 2 months ago

!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.