processone / ejabberd

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

Support for XEP-0292: vCard4 Over XMPP #3535

Open vovan69 opened 3 years ago

vovan69 commented 3 years ago

Some modern XMPP clients, Gajim for example, are dropping supports for XEP-0054/vcard-temp and switching to XEP-0292/vCard4. It would be useful to have support for this XEP in ejabberd. I saw closed feature request feature [xep-0292] and understand the reason. However this was nearly 3 years ago maybe it's time to reconsider.

lovetox commented 2 years ago

The old vcard-temp spec has the huge drawback that it is public, users have no way of setting some kind of permission. Everyone can query your vcard-temp.

This really limits the usability what data people want to include there. Pubsub offers the permission scheme to limit the vcard access to whitelist or more common presence. Gajim does not support publishing vcard-temp anymore, only requesting. Other clients also moved to the pubsub spec.

VCard converters exist in other servers like prosody.

This change would give users more control over their private data.

ticktostick commented 1 year ago

prosody converts vcard-temp and ldap vcards to PEP vcards https://prosody.im/doc/modules/mod_vcard_legacy

Neustradamus commented 2 months ago

Psi currently in development and Psi+ support now.

cc: @badlop.

badlop commented 1 month ago

Some modern XMPP clients, Gajim for example, are dropping supports for XEP-0054/vcard-temp and switching to XEP-0292/vCard4. It would be useful to have support for this XEP in ejabberd.

XEP-0292 tells clients how they can store their vCard in PubSub. So, ejabberd doesn't need to implement anything specific to let clients use XEP-0292.

I've just checked: Gajim 1.9.3 can store and retrieve vCard4 in ejabberd 24.07

On the other hand, ejabberd provides vCards of ejabberd server and all its services (mod_muc, mod_proxy, mod_pubsub), not vCard4.

prosody converts vcard-temp and ldap vcards to PEP vcards https://prosody.im/doc/modules/mod_vcard_legacy

That looks like a nice feature if there are accounts with only vCard, when clients that contact them are newer and only support vCard4.

lovetox commented 1 month ago

@badlop the most requests we get for that are because of the LDAP integration.

The LDAP integration seems to send vcard-temp only. It would be nice if that at least would also answer to vcard4 requests.