XEP-0313: Message Archive Management does not propose a way to delete a message.
It would be handy to propose a draft XEP and implementation to handle server-side message deletion from archive.
Things to take into account:
Let's discuss here draft protocol and implementation.
I think such a draft should also support deletion of HTTP-uploaded resources when deleting a message that references an uploaded file. The problem with supporting this cleanly is that the actual referencing of uploaded files is done quite ad-hoc: The message typically just holds the URI to an uploaded file in the (possibly encrypted) body and in an OOB-URL. Nevertheless, if we support message deletion without upload deletion, it will take no longer than 48 hours until people complain :smile:
+1 this would make perfect sense in modern messaging applications
This Link is a draft from 2015. might give a direction towards implementing it as well.
Once a draft is intact, can we expect it to be in the next versions?
Any progress on this?
I guess you can get inspiration from MongooseIM: https://github.com/esl/MongooseIM/pull/2739
Most helpful comment
I think such a draft should also support deletion of HTTP-uploaded resources when deleting a message that references an uploaded file. The problem with supporting this cleanly is that the actual referencing of uploaded files is done quite ad-hoc: The message typically just holds the URI to an uploaded file in the (possibly encrypted) body and in an OOB-URL. Nevertheless, if we support message deletion without upload deletion, it will take no longer than 48 hours until people complain :smile: