From 261c9763c472f0ea1ceac9729dfc3a5da2799300 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Fri, 24 Sep 2021 11:56:13 +0100 Subject: Simplify `_auth_and_persist_fetched_events` (#10901) Combine the two loops over the list of events, and hence get rid of `_NewEventInfo`. Also pass the event back alongside the context, so that it's easier to process the result. --- changelog.d/10901.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/10901.misc (limited to 'changelog.d/10901.misc') diff --git a/changelog.d/10901.misc b/changelog.d/10901.misc new file mode 100644 index 0000000000..9a765435db --- /dev/null +++ b/changelog.d/10901.misc @@ -0,0 +1 @@ +Clean up some of the federation event authentication code for clarity. -- cgit 1.4.1