forked-synapse/synapse/rest/client
David Baker 73d8ded0b0
Prevent a sync request from removing a user's busy presence status (#12213)
In trying to use the MSC3026 busy presence status, the user's status
would be set back to 'online' next time they synced. This change makes
it so that syncing does not affect a user's presence status if it
is currently set to 'busy': it must be removed through the presence
API.

The MSC defers to implementations on the behaviour of busy presence,
so this ought to remain compatible with the MSC.
2022-04-13 16:21:07 +01:00
..
__init__.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
_base.py Add support for /_matrix/client/v3 APIs (#11318) 2021-11-16 14:47:58 +01:00
account_data.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
account_validity.py Addtional type hints for the REST servlets. (#10665) 2021-08-23 08:14:17 -04:00
account.py Remove more references to get_datastore (#12067) 2022-02-23 12:35:53 +00:00
auth.py Use v3 endpoints for fallback auth (Matrix 1.1) (#12019) 2022-02-22 11:20:45 +00:00
capabilities.py Move experimental support for MSC3440 to /versions. (#12099) 2022-02-28 18:29:09 +00:00
devices.py Make get_device return None if the device doesn't exist rather than raising an exception. (#11565) 2021-12-13 15:39:43 +00:00
directory.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
events.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
filter.py Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
groups.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
initial_sync.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
keys.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
knock.py Additional type hints for client REST servlets (part 4) (#10728) 2021-09-01 11:59:32 -04:00
login.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
logout.py Additional type hints for REST servlets (part 2). (#10674) 2021-08-26 11:53:52 +00:00
mutual_rooms.py Remove mutual_rooms update_user_directory check, and add extra documentation (#12038) 2022-03-23 12:47:07 +00:00
notifications.py Use the proper serialization format when bundling aggregations. (#12090) 2022-03-03 10:43:06 -05:00
openid.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
password_policy.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
presence.py Additional type hints for REST servlets (part 2). (#10674) 2021-08-26 11:53:52 +00:00
profile.py Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
push_rule.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
pusher.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
read_marker.py Add a constant for receipt types (m.read). (#11531) 2021-12-08 12:26:29 -05:00
receipts.py Add a constant for receipt types (m.read). (#11531) 2021-12-08 12:26:29 -05:00
register.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
relations.py Support the v1 endpoint for /relations. (#12403) 2022-04-07 07:08:23 -04:00
report_event.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
room_batch.py Room batch: fix up handling of unknown prev_event_ids (#12316) 2022-03-29 14:56:25 +01:00
room_keys.py Additional type hints for client REST servlets (part 4) (#10728) 2021-09-01 11:59:32 -04:00
room_upgrade_rest_servlet.py Addtional type hints for the REST servlets. (#10665) 2021-08-23 08:14:17 -04:00
room.py Move get_bundled_aggregations to relations handler. (#12237) 2022-03-18 17:49:32 +00:00
sendtodevice.py Additional type hints for client REST servlets (part 4) (#10728) 2021-09-01 11:59:32 -04:00
sync.py Prevent a sync request from removing a user's busy presence status (#12213) 2022-04-13 16:21:07 +01:00
tags.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
thirdparty.py Addtional type hints for the REST servlets. (#10665) 2021-08-23 08:14:17 -04:00
tokenrefresh.py Addtional type hints for the REST servlets. (#10665) 2021-08-23 08:14:17 -04:00
transactions.py Additional type hints for client REST servlets (part 5) (#10736) 2021-09-03 09:22:22 -04:00
user_directory.py Correct check_username_for_spam annotations and docs (#12246) 2022-03-18 13:51:41 +00:00
versions.py Rename Mutual Rooms unstable_features flag to match MSC (#12445) 2022-04-13 10:32:44 +01:00
voip.py Fix getTurnServer response: return an integer ttl (#10922) 2021-09-30 08:04:55 -04:00