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.

while the resource is bound to the session in
AbstractSessionContext#bindResource, it's not stored anywhere,
so i was wondering whether #bindResource should reset the initiatingEntity
field to represent the full JID.

i saw the methods ResourceRegistry#getBoundResources, but this seems to be
too much effort to
finally get the resource identifier.

how about resetting the initialEntity field in
AbstractSessionContext#bindResource ?
(yes, next time i'll ask before committing :/ )

Cheers,
  Gerolf

Reply via email to