processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6.01k stars 1.5k forks source link

Relay pubsub/PEP to bare JID for MUC occupant JIDs #4093

Closed mwild1 closed 8 months ago

mwild1 commented 9 months ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

The current behaviour implemented for the vcard-temp namespace should be extended to include at least http://jabber.org/protocol/pubsub and possibly urn:ietf:params:xml:ns:vcard-4.0 (Prosody also does the latter, but general consensus has been to remove the custom iq from the vcard4 XEP, so it may be deprecated soon).

This change would allow clients to support OMEMO, vCard4 and other PEP-based protocols within MUCs.

poVoq commented 9 months ago

Specifically, this would allow sending OMEMO encrypted PMs in an unencrypted public channel, which already works on Prosody hosted MUCs and some clients.

licaon-kter commented 9 months ago

MUC-PM, this is when one user is a moderator/admin/owner so they see real XMPP address of the other?

mwild1 commented 9 months ago

With this change implemented, the users will not need to see real JIDs for OMEMO to work.

prefiks commented 9 months ago

So does this require anything else than relying of <pubsub xmlns="http://jabber.org/protocol/pubsub"> queries?

prefiks commented 9 months ago

I commited d961f7f667b0c21f5256c1ba0c61878ea6754d74 that should be doing this.

prefiks commented 9 months ago

Make that 62d3d7a32d2dbae84dc16a85cd389ab814cefc15

mwild1 commented 9 months ago

So does this require anything else than relying of <pubsub xmlns="http://jabber.org/protocol/pubsub"> queries?

Nope, that should be all :)

mremond commented 8 months ago

As I understand it, it should work now with ejabberd 23.10.