2011/8/21 Jehan Pagès <[email protected]>: > So what should be the objectives?
I think to a) Unlock whenever the user is likely to have changed the client at which they're available. b) Not unlock when there isn't reasonable evidence that the user has changed... (a) is clearly important to ensure the user gets the messages sent to them in a timely manner, and (b) important to not send small fragments of conversations to clients the user isn't using and to not break caps (as every time a chat window unbinds you're going to be breaking caps detection for the remote client). > Also I have a general question about this XEP. What about threading? > When we unlock a resource, are we supposed to make a new thread as > though it was a new conversation (which it may not be)? I think threads are independent of resource locking - one client session could cover several threads, and one thread could span several client changes. /K
