Maciek Niedzielski wrote:
Peter Saint-Andre wrote:If I wanted to look for nicknames in disco#info, I'd rather look in 'account' category. For example:Maciek Niedzielski wrote:BTW I think it is unclear (at least for some people) what should be given as a 'name' in <identity category='client' type='pc'/>.Probably because XEP-0030 doesn't really say. :)I don't remember the details, but some time ago people complained that Psi puts 'Psi' as a name, not user's nick.Well, we do have XEP-0172 for nicknames.<identity category='account' type='registered' name='machekku' />This could be added automatically to disco#info of bare jids - server would just put nickname from vcard there. But at the same time, clients cannot include this identity in their replies, because a client cannot tell me if it's running on a registered or anonymous or admin account (or rather: it can tell me, but I wouldn't trust it ;))
Right. We talked about the account/registered identity once a long time ago and what the server should return when it receives a disco#info query to the bare JID. Including the nick in the 'name' attribute makes sense for that case. But that's not the case we're talking about for client information. :)
Peter -- Peter Saint-Andre https://stpeter.im/
smime.p7s
Description: S/MIME Cryptographic Signature
