Dynamic priority depending on presence state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
New
|
Wishlist
|
Mats |
Bug Description
The priority value should automatically change if the user changes his presence state (or because the auto away feature does). In this way messages are more likely to be routed to the right client when the user is connected with multiple accounts on different locations.
Use case:
* Mats is during the day connected to his XMPP account using the client on his mobile phone. This client has priority 5.
* Mats starts his desktop computer and he starts Coccinella. He is online and his priority is 6. All messages to Mats are now automatically routed by the server to Coccinella instead of his mobile phone. Mats will save money because he has to pay a lot more more for mobile traffic.
* Mats goes to the local shop. He (or the auto away feature) changes the presence state of Coccinella on his desktop to away. Away is mapped with a priority of 4. All messages now will be routed to the mobile phone client of Mats, including the message of his wife: "Can you also bring some eggs? I forgot to ask you this."
How to implement in the interface:
* In the preferences dialog there should be a new page called "Auto Priority"
* This pages lists all Presence states vertically in the first column
* In the second column there will be a priority field
See also Bug #180132 to my long comment regarding this!
Related discussion: http://
Changed in coccinella: | |
assignee: | nobody → matsben |
importance: | Undecided → Wishlist |
description: | updated |
description: | updated |
Changed in coccinella: | |
milestone: | none → 0.96.18 |
Changed in coccinella: | |
milestone: | 0.96.18 → 0.96.20 |
Changed in coccinella: | |
milestone: | 0.96.20 → 0.96.22 |
I think this auto-priority should be added to the preferences.
Need to figure out, how to actually change the priority of a running session.
What to do when a priority is set in the profile other than the default?
Completely disable the auto-priority feature?
Or maybe using some calculation to dynamically calculate the priority for the different presence states?