Delete messages but not in-chat-app updates

I’d like that the ‘‘delete messages’’ button and the “expire messages” option could have a way to exclude webxdc updates. What if in the chat we keep a pixelsocial app for the most important stuff? What if we have a wiki or a document app? I know that the workaround would be ''make another group for those without the expiring messages option" but maybe it’s solvable, hence i ask :smiley:

the app updates are not deleted, as long as the mini-app exists it state exists, what you need to make sure is to send the mini-app in question when the disappearing messages is disabled, so if it is enabled right now for your group, just disable it, send the mini-app, and enable disappearing messages again, now the app and all its state will remain forever in the group while all other messages will be removed by the disappearing messages timer

NOTE: actually even with disappearing messages timer, an app will not be removed if it is used recently and it generated some status update, every time an app sends some status update it will refresh its disappearing messages timer, however, I don’t recommend relaying on this if the content is very important since you might lose the app if it is inactive longer than the disappearing messages timer

Duplicate of

why do i suck so much at finding duplicates!? sorry w_w

Oh ! I did not know, good news ! It solves one of my problems. With disappearing timer of 1 year, it should be ok.

that turned out to be false at the moment, it only happens with the “delete messages from device” but not the disappearing timer, so you better make sure to temporarily disable the disappearing timer, send the mini-app then enable it back

related: test: status updates do not extend ephemeral message deletion of apps by r10s · Pull Request #8909 · chatmail/core · GitHub