Open evgenii-minkov opened 7 months ago
Unfortunately, there is a bug in the implementation. Try opening the folder edit screen -> Included Chats -> click Add Chats and try removing the locked chats from the list above the search bar.
https://github.com/Ajaxy/telegram-tt/assets/285244/3f28dcef-6fa5-4416-b486-ac7ce35d47de
@korenskoy thank you for pointing this out. i followed your guide and reproduced the behavior
i did a quick research and discovered the root of the issue:
what i did is:
this fixes the behavior you showed in the video, but i do not particularly like what i'm doing here - this solution is an attempt to keep up with the separation of folder chats into included and pinned
there is currently a bug
proposed changes in this PR address that by modifying 'selectChatFilters' selector and 'editChatFolders' action handler
side-note: i understand that pinned chat ids are not stored as a subset of included chat ids during initial API fetches for the purposes of ordering during render