This patch is a step forward and obsoletes the old patch, and now also handles incoming messages well.
In case the multiple resources in the roster are enabled, then incoming messages from different resources are opened in different threads.
In the roster, when multiple resources are enabled and online, then the chat submenu is disabled. Chat sessions are always directed directly to the full jid.
With the multiple resources disabled, then the chat submenu behaves as before, in case there is only one resource of a contact online, then there is no submenu, if there are more then one online, then the submenu is shown.
Also an exception with the multiple resources enabled that happened when having groups in the roster, was fixed.
However, the fix was just a commenting out of some sorting, because I did not yet figured out what the actual problem is.
This patch is a step forward and obsoletes the old patch, and now also handles incoming messages well.
In case the multiple resources in the roster are enabled, then incoming messages from different resources are opened in different threads.
In the roster, when multiple resources are enabled and online, then the chat submenu is disabled. Chat sessions are always directed directly to the full jid.
With the multiple resources disabled, then the chat submenu behaves as before, in case there is only one resource of a contact online, then there is no submenu, if there are more then one online, then the submenu is shown.
Also an exception with the multiple resources enabled that happened when having groups in the roster, was fixed.
However, the fix was just a commenting out of some sorting, because I did not yet figured out what the actual problem is.