!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.
!isSavedMessages
check is defined aslet isSavedMessages = peerId == context.account.peerId
conflicts withpeerId == context.account.peerId
, meaning the app will never show the "Archive"/"Unarchive" button when long-tapping any chat in the chat list.