[Standards] Adding logo to MUC and PubSub node
edhelas at movim.eu
Thu Feb 8 07:14:27 UTC 2018
Le jeudi 08 février 2018 à 08:26 +0300, Evgeny Khramtsov a écrit :
> Wed, 7 Feb 2018 22:16:30 +0100
> "W. Martin Borgert" <debacle at debian.org> wrote:
> > Hi,
> > this is an idea mainly for the "social network" aspect of XMPP:
> > A logo for a MUC or for a PubSub node, similar to a user avatar.
> > Such a logo, emblem, or symbol can be a good indicator for users
> > to find the right MUC or PubSub node in a social network
> > application or graphical XMPP client.
> > How about introducing two configuration variables, one in
> > https://xmpp.org/extensions/xep-0045.html#registrar-formtype-owneronfig:
> > var='muc#muc_logo'
> > And the second one in
> > https://xmpp.org/extensions/xep-0060.html#owner-configure:
> > var='pubsub#node_logo'
> > The value should be a <media> element from
> > https://xmpp.org/extensions/xep-0221.html.
> > IMHO, the value should be restricted to
> > 1. images, or would a sound make sense? Maybe...
> > 2. inline data, so that a link to a web resource cannot be
> > abused for snitching IP addresses
> > What do you think?
> This is the same as to provide vCards by the service (which is
> implemented in ejabberd for MUCs for example), and has the same
> drawback: there is no way to tell clients that your logo has updated.
> Standards mailing list
> Info: https://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: Standards-unsubscribe at xmpp.org
For the MUC maybe, but I'm fine with having this solution for the moment while MIX is designed to have a more proper one with real-
For Pubsub, this is already the case with node metadatas, this URL can come with the title, description and many other info.
In the end I don't think that it's a big issue to have those info requested manually, having a cache of a few hours on the clients is
an OK solution for me at the moment.
More information about the Standards