Ejabberd: Server-side message deletion for MAM messages

Created on 24 Jul 2020  路  5Comments  路  Source: processone/ejabberd

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.

Feature

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:

All 5 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ForGuru picture ForGuru  路  4Comments

jjdp picture jjdp  路  3Comments

BoopathyRaja picture BoopathyRaja  路  3Comments

licaon-kter picture licaon-kter  路  4Comments

lgg picture lgg  路  4Comments