synapse/changelog.d
Richard van der Hoff 1bebc0b78c
Clean up federation event auth code (#10539)
* drop old-room hack

pretty sure we don't need this any more.

* Remove incorrect comment about modifying `context`

It doesn't look like the supplied context is ever modified.

* Stop `_auth_and_persist_event` modifying its parameters

This is only called in three places. Two of them don't pass `auth_events`, and
the third doesn't use the dict after passing it in, so this should be non-functional.

* Stop `_check_event_auth` modifying its parameters

`_check_event_auth` is only called in three places. `on_send_membership_event`
doesn't pass an `auth_events`, and `prep` and `_auth_and_persist_event` do not
use the map after passing it in.

* Stop `_update_auth_events_and_context_for_auth` modifying its parameters

Return the updated auth event dict, rather than modifying the parameter.

This is only called from `_check_event_auth`.

* Improve documentation on `_auth_and_persist_event`

Rename `auth_events` parameter to better reflect what it contains.

* Improve documentation on `_NewEventInfo`

* Improve documentation on `_check_event_auth`

rename `auth_events` parameter to better describe what it contains

* changelog
2021-08-06 13:54:23 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
9581.feature Add get_userinfo_by_id method to ModuleApi (#9581) 2021-08-04 10:40:25 +00:00
10119.misc Improve event caching code (#10119) 2021-08-04 13:54:51 +01:00
10129.bugfix Add warnings to ip_range_blacklist usage with proxies (#10129) 2021-08-03 18:13:34 +00:00
10435.feature Send unstable-prefixed room_type in store-invite IS API requests (#10435) 2021-08-04 13:39:57 -04:00
10443.doc Add documentation for configuring a forward proxy. (#10443) 2021-08-05 07:20:05 -04:00
10498.feature Add support for MSC2716 marker events (#10498) 2021-08-04 12:07:57 -05:00
10504.misc Fix could not serialize access errors for claim_e2e_one_time_keys (#10504) 2021-08-04 13:09:04 +01:00
10507.misc Include room ID in ignored EDU log messages (#10507) 2021-08-03 13:35:49 +00:00
10513.feature Make sync response cache time configurable. (#10513) 2021-08-03 14:45:04 +01:00
10527.misc Refactoring before implementing the updated spaces summary. (#10527) 2021-08-05 12:39:17 +00:00
10529.misc Don't fail CI when lint-newfile job was skipped (#10529) 2021-08-05 11:22:27 +01:00
10530.misc Update the API response for spaces summary over federation. (#10530) 2021-08-06 07:40:29 -04:00
10532.bugfix Only return an appservice protocol if it has a service providing it. (#10532) 2021-08-05 08:22:14 -04:00
10537.misc Mark all MSC2716 events as historical (#10537) 2021-08-05 20:35:53 -05:00
10539.misc Clean up federation event auth code (#10539) 2021-08-06 13:54:23 +01:00
10543.doc fix broken links in upgrade.md (#10543) 2021-08-05 19:00:44 +01:00
10546.feature Add a setting to disable TLS for sending email (#10546) 2021-08-06 10:13:34 +00:00