Adding <x mlns> tag to muc (pm) stanza's to comply with xep-0045 (<x xmlns="http://jabber.org/protocol/muc#user" />). Ejabberd seems to do the same. Without this stanza tag, mod_muc_block_pm fails to notify users of their PM's being blocked.
Example stanza produced by mod_muc_block_pm when sending a (blocked) PM in Gajim:
XML console:
```
<message xmlns="jabber:client" type="error" from="mubituja@conference.prosody.local/test2" id="1732f0f5-186e-44c8-b5f5-d53f40c045d7" to="test@prosody.local/gajim.UNK8EUBA">
<error type="cancel" by="mubituja@conference.prosody.local">
<policy-violation xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Private messages are disabled</text>
</error>
</message>
```
Adding <x mlns> tag to muc (pm) stanza's to comply with xep-0045 (<x xmlns="http://jabber.org/protocol/muc#user" />). Ejabberd seems to do the same. Without this stanza tag, mod_muc_block_pm fails to notify users of their PM's being blocked. Example stanza produced by mod_muc_block_pm when sending a (blocked) PM in Gajim: XML console: ``` <message xmlns="jabber:client" type="error" from="mubituja@conference.prosody.local/test2" id="1732f0f5-186e-44c8-b5f5-d53f40c045d7" to="test@prosody.local/gajim.UNK8EUBA"> <error type="cancel" by="mubituja@conference.prosody.local"> <policy-violation xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /> <text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Private messages are disabled</text> </error> </message> ```