-
- Downloads
Track presence state per-device and combine to a user state. (#16066)
Tracks presence on an individual per-device basis and combine the per-device state into a per-user state. This should help in situations where a user has multiple devices with conflicting status (e.g. one is syncing with unavailable and one is syncing with online). The tie-breaking is done by priority: BUSY > ONLINE > UNAVAILABLE > OFFLINE
Showing
- changelog.d/16066.bugfix 1 addition, 0 deletionschangelog.d/16066.bugfix
- changelog.d/16170.bugfix 1 addition, 0 deletionschangelog.d/16170.bugfix
- changelog.d/16170.misc 0 additions, 1 deletionchangelog.d/16170.misc
- changelog.d/16171.bugfix 1 addition, 0 deletionschangelog.d/16171.bugfix
- changelog.d/16171.misc 0 additions, 1 deletionchangelog.d/16171.misc
- changelog.d/16172.bugfix 1 addition, 0 deletionschangelog.d/16172.bugfix
- changelog.d/16172.misc 0 additions, 1 deletionchangelog.d/16172.misc
- synapse/api/presence.py 39 additions, 4 deletionssynapse/api/presence.py
- synapse/handlers/presence.py 232 additions, 47 deletionssynapse/handlers/presence.py
- tests/handlers/test_presence.py 490 additions, 10 deletionstests/handlers/test_presence.py
Loading
Please register or sign in to comment