-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update mod_muc_room to support XEP-0425 0.3.0 #4193
Comments
I am ready to bump my Movim implementation of XEP-0425 to 0.3.0 (https://xmpp.org/extensions/xep-0425.html#revision-history-v0.3.0). Be careful the This update will allow me to also drop the support of Message Fastening for XEP-0424: Message Retraction (https://xmpp.org/extensions/xep-0424.html#revision-history-v0.4.0). |
I've updated the xmpp library and ejabberd to support 0.3.0, while still keeping support for 0.2.1. Message retraction works for me using 0.3.0, at least I tried manually. Can you please try it yourself too and report if it's correct or requires some more change? You can compile ejabberd master branch, or download binary installers or use a container. |
ejabberd allows a MUC occupant to retract a message he has sent, using XEP-0424: Message Retraction.
It is also possible for a room moderator to retract a message sent by another occupant, using XEP-0425: Moderated Message Retraction.
Right now ejabberd implements XEP-0425 0.2.1, as documented in
ejabberd/src/mod_mam.erl
Line 31 in 426e33d
There's a new version of XEP-0425, 0.3.0: xsf/xeps@ef79d2c
Here is a very dirty early and unfinished patch to support that XEP version:
After applying this patch, a room moderator can send to the room:
Interestingly, there seems to be a bug in XEP-0425 itself:
retract
element is used, it doesn't includeid
:moderate
element:The text was updated successfully, but these errors were encountered: