Closed singpolyma closed 5 months ago
Sending a subject and a thread to an ejabberd MUC is interpreted as a subject change.
The room subject is changed only when the message stanza doesn't include body and no thread, as implemented in
You can verify that in the muc_room table. If using Mnesia, this can be seen in the ejabberd WebAdmin -> Nodes -> your node -> Database -> muc_room -> elements. There you can confirm that the room subject didn't change.
http://localhost:5280/admin/node/ejabberd@localhost/db/muc_room/1/
What you have noticed is that ejabberd sends that message stanza to the room occupants. If your client does not implement the verification mentioned in the XEP, then your client may display a subject change.
What did you expect the server to do? Block such a stanza? Remove the subject element? Remove the body/thread element? Nothing of that is mentioned in the XEP.
Apologies, it does seem like this was a bug in the clients I was testing and not a server bug.
https://xmpp.org/extensions/xep-0045.html#subject-mod
Sending a subject and a thread to an ejabberd MUC is interpreted as a subject change.