diff options
author | Eric Eastwood <erice@element.io> | 2022-10-27 13:29:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 18:29:23 +0000 |
commit | aa70556699e649f46f51a198fb104eecdc0d311b (patch) | |
tree | a1ff5b0f46480e516786d98a59451baa7a5b528a /docs | |
parent | Fix tests for change in PostgreSQL 14 behavior change. (#14310) (diff) | |
download | synapse-aa70556699e649f46f51a198fb104eecdc0d311b.tar.xz |
Check appservice user interest against the local users instead of all users (`get_users_in_room` mis-use) (#13958)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/upgrade.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/upgrade.md b/docs/upgrade.md index 78c34d0c15..f095bbc3a6 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -97,6 +97,25 @@ As announced with the release of [Synapse 1.69.0](#deprecation-of-the-generate_s Modules relying on it can instead use the `create_login_token` method. +## Changes to the events received by application services (interest) + +To align with spec (changed in +[MSC3905](https://github.com/matrix-org/matrix-spec-proposals/pull/3905)), Synapse now +only considers local users to be interesting. In other words, the `users` namespace +regex is only be applied against local users of the homeserver. + +Please note, this probably doesn't affect the expected behavior of your application +service, since an interesting local user in a room still means all messages in the room +(from local or remote users) will still be considered interesting. And matching a room +with the `rooms` or `aliases` namespace regex will still consider all events sent in the +room to be interesting to the application service. + +If one of your application service's `users` regex was intending to match a remote user, +this will no longer match as you expect. The behavioral mismatch between matching all +local users and some remote users is why the spec was changed/clarified and this +caveat is no longer supported. + + # Upgrading to v1.69.0 ## Changes to the receipts replication streams |