diff options
| author | Richard van der Hoff <richard@matrix.org> | 2019-11-08 12:21:28 +0000 |
|---|---|---|
| committer | Richard van der Hoff <richard@matrix.org> | 2019-11-08 12:21:28 +0000 |
| commit | f41027f74678f35ad9e9eb2531c416dd58a65127 (patch) | |
| tree | 28aaaedbf6646fc124ffd6b6c02ab567378c4eeb /synapse/handlers/federation.py | |
| parent | Update some docstrings and comments (diff) | |
| download | synapse-f41027f74678f35ad9e9eb2531c416dd58a65127.tar.xz | |
Use get_events_as_list rather than lots of calls to get_event
It's more efficient and clearer.
Diffstat (limited to '')
| -rw-r--r-- | synapse/handlers/federation.py | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py |
