Am 27.09.2011 15:29, schrieb Waqas Hussain:

11. Full-to-bare JID rewriting to support vCards

All(?) implementations are doing it, but it's not specified anywhere.
Should it be?

Yes, it should. Proposed text would be appreciated.


Err... a quick attempt, probably not too good:

[Section 16.4: IQ]

6. If an occupant sends an IQ get to another occupant with the child
element<vCard xmlns='vcard-temp'/>, the room SHOULD route the stanza
to the target occupant's bare real JID. The room should also rewrite
the 'from' attribute of the IQ result response to the initial target
occupant's full in-room JID. The room can store any state required in
'id' or 'from' attributes of the IQ get stanza it sends.

Hmm, doesn't forwarding IQs be a problem for semianonymous rooms? Especially for things like vcard?

Regards,

Alexander

Reply via email to