I want to know how to change the resource of JID dynamically.
For example, I sign in to a jabber service with jeffrey@jabber.com/foo (resource is foo)
And how to change the resource of this jid to another one such as jeffrey@jabber.com/bar without logout/login again.
Thanks.
XEP-0193 provides a capability for this (in theory), but as far as I know, nobody ever implemented it. In general, with today’s servers, this is impossible.