Gerolf Seitz wrote:
hi bernd,
in certain situations (eg probing presence information after initial
presence, see RFC3921:5.1.1)
it's necessary to get hold of the full JID. unfortunately it isn't provided
in the intial presence stanza
sent from the client.
If a session is bound to more than one resource, how could we determine
which one to process with?
I quickly scanned 5.1.1 and it mentions the full jid.
Side-note: At any time, if there is something ambigious in the rfcs, I
recommend consulting [EMAIL PROTECTED] mailing list or the most current
BIS-revision of the RFC, for example at
http://www.xmpp.org/internet-drafts/draft-saintandre-rfc3921bis-04.html#roster
The BIS-process is due to replace RFC by newer RFC. The BIS docs have a
clearer structure and more examples.
Proposal: If the client does not send full JID (FJID), then we check the
session for a unique resource id. If there is not exactly one, we return
a stanza error. Else, we proceed with the FJID we determined.
Bernd
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]