processone / xmpp

Erlang/Elixir XMPP parsing and serialization library on top of Fast XML
http://process-one.net
Apache License 2.0
137 stars 88 forks source link

Make JID optional in pubsub subscription options #34

Closed nosnilmot closed 6 years ago

nosnilmot commented 6 years ago

XEP-0060 states that 'node' and 'jid' attributes to element MUST NOT be included when are specified at same time as :

https://xmpp.org/extensions/xep-0060.html#subscriber-configure-subandconfig

ps_options jid attribute is made optional, mod_pubsub will be updated to enforce correct requirements in ejabberd