ok seems ok. But did you also thought about the following situations?:
1) A contact is connected with 2 or more clients with at least 2 resources sharing the same highest priority
2) A contact is connected with 2 or more clients but the resource with the highest priority does not support a specific feature (e.g. when the user wants to send a file, initiate a whiteboard session, start a voice chat session,...)
3) What when the highest priority resource is in DnD presence state whilst a lower is in Free to Chat? Ok, this may not occur as clients should automatically change priority when presence is changed (see another feature wish of mine)...but what if it happens anyway?
Possible solutions:
1) Ask the user to send the message/file transfer request/whatever either to all these resources, or let the user manually select:
* Both (recommended)
o resource1
o resource2
2) Warn the user that the action cannot be done with the current highest priority resource and ask the user to select between the resources that support the required feature (or cancel the action)
3) Show the 'best' presence state in the roster. If this is not the highest resource; show a dialog with all resources and their corresponding presence state (ordered by priority) and allow the user to select between them. Maybe this is a shit solution?
PS: for which Coccinella release milestone will this feature be?
ok seems ok. But did you also thought about the following situations?:
1) A contact is connected with 2 or more clients with at least 2 resources sharing the same highest priority
2) A contact is connected with 2 or more clients but the resource with the highest priority does not support a specific feature (e.g. when the user wants to send a file, initiate a whiteboard session, start a voice chat session,...)
3) What when the highest priority resource is in DnD presence state whilst a lower is in Free to Chat? Ok, this may not occur as clients should automatically change priority when presence is changed (see another feature wish of mine)...but what if it happens anyway?
Possible solutions:
1) Ask the user to send the message/file transfer request/whatever either to all these resources, or let the user manually select:
* Both (recommended)
o resource1
o resource2
2) Warn the user that the action cannot be done with the current highest priority resource and ask the user to select between the resources that support the required feature (or cancel the action)
3) Show the 'best' presence state in the roster. If this is not the highest resource; show a dialog with all resources and their corresponding presence state (ordered by priority) and allow the user to select between them. Maybe this is a shit solution?
PS: for which Coccinella release milestone will this feature be?