[JDEV] Chatting with the correct resource

Justin Karneges justin-jdev at affinix.com
Wed Nov 5 14:40:56 CST 2003

On Wednesday 05 November 2003 10:50 am, Mikael Hallendal wrote:
> Any suggestions on how to handle this then? For example, I change
> computers and goes to my laptop, my desktop client is set to away (by
> autoaway or manually setting it to away), I log into my laptop. My
> friend who I where chatting with before writes me an important question,
> which goes to my desktop since he happened to chat with that resource. A
> few hours later I go back to my desktop and see that he has written the
> question.
> If the message followed the client where I actually is, this wouldn't
> have happened. Is there any solution to this with the current spec?

The solution is to inform others where you actually are. ;-)

Just because you recently signed on with another resource does not indicate 
that you are physically there.  If you have a laptop and a desktop both 
connected to Jabber with different resources, and both in different locations 
in your house, and you are standing in the hallway, where shall new messages 

I say ensure that the priority value is accurate for where you want new 
messages to go, and then your friends' clients should be able to use this as 
a hint.  For a newbie client, you might have their chat window immediately 
switch resources to the highest priority.  Maybe a more technical client just 
informs the user, "Mikael/Laptop, has signed on with a higher priority" (this 
could be an event / popup or something, or logged in the existing chat 


More information about the JDev mailing list