When any chat is deleted via official client, it shows up in recent chats on xmpp client. Apparently this happens because slidgram attempts to remove messages on xmpp side after chat being deleted on telegram side. It's not exactly a bug, more like annoyance. I like to keep my chats tidy, so having deleted chats pop up in my xmpp client gets annoying. Btw, it happens when you delete a bot chat too.
How to reproduce:
I'm not sure if it's really fixable, since what I think happens is that slidge treats chat deletion as mass deletion of messages (which is kinda true, but thing is - that happens even when you uncheck "delete for my contact as well" checkbox)
I don't think we can do much about chats appearing when we don't want them. I've noticed that happens sometimes in Dino and Beagle indeed, but it really looks like a client issue. When mass deleting messages, it would make sense for clients not to bring that chat to the top…
In which XMPP client do you see that?
Is "deleting a telegram chat" equivalent to "removing a telegram contact"? If yes, maybe we could do something better about that in case we don't already map the "contact deletion event" to something on the XMPP side.
It happens both on gajim and cheogram, both are latest versions.
By teleting telegram chat I meant entered a chat on official client, tapping/clicking 3 dots on top, choosing delete chat.
On December 31, 2023 2:28:29 PM GMT+06:00, ~nicoco outgoing@sr.ht wrote:
I don't think we can do much about chats appearing when we don't want them. I've noticed that happens sometimes in Dino and Beagle indeed, but it really looks like a client issue. When mass deleting messages, it would make sense for clients not to bring that chat to the top���
In which XMPP client do you see that?
Is "deleting a telegram chat" equivalent to "removing a telegram contact"? If yes, maybe we could do something better about that in case we don't already map the "contact deletion event" to something on the XMPP side.
I think this is when you delete a chat in telegram, we receive a bunch of "deleted message" payloads. I'm not sure that's the case with the new lib we use since https://git.sr.ht/~nicoco/slidgram/commit/7eb6312bb7e03a03c909d07fd56546fb3c35ee2d
Also, this is probably an XMPP client issue/feature/whatever to show "deleted message events" as some sort of recent activity. I am going to close this, please re-open if (a) it still happens with the latest slidgram and (b) you think it's slidgram misbehaving and not the XMPP clients.