Clearing chat history removes this chat from the chat list after restarting the program
Steps to reproduce
- Right-click on the chat and select "Clear History."
- Confirm clearing the chat.
- Restart Telegram.
Expected behaviour
After restarting the program, the chat that was cleared should be in the chat list with no messages.
Actual behaviour
After restarting the program, the chat is no longer in the chat list. The "Clear History" function works like the "Delete Chat" function. If you delete the history of a group chat, that chat disappears not only from the chat list but also from the list of my groups, which can be accessed by right-clicking the "New Group" menu item and selecting "My Groups." I have to ask a contact who is in that group to post something to the group for it to appear in my chat list.
Operating system
Windows 10 Pro 22H2
Version of Telegram Desktop
6.1.2 x64
Installation source
Microsoft Store
Crash ID
No response
Logs
The fact that a cleared group is removed from the chat list is correct; it's always been that way. However, the fact that it's also removed from the group list is a bug. I've already filed a ticket regarding this issue https://github.com/telegramdesktop/tdesktop/issues/29760, and the fix has been implemented. Try a test build; I wasn't able to test the fix for groups due to organizational reasons; I only tested it for chats.