summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-08-20 16:42:12 +0100
committerGitHub <noreply@github.com>2020-08-20 16:42:12 +0100
commit318f4e738e66a1376a8db25c217a090384083f2d (patch)
tree48a403f199c129a05d264b0cd7b77b17fe097918 /synapse/events
parentImprove the error code when trying to register using a name reserved for gues... (diff)
downloadsynapse-318f4e738e66a1376a8db25c217a090384083f2d.tar.xz
Be more tolerant of membership events in unknown rooms (#8110)
It turns out that not all out-of-band membership events are labelled as such,
so we need to be more accepting here.
Diffstat (limited to 'synapse/events')
-rw-r--r--synapse/events/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index cc5deca75b..67db763dbf 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -133,6 +133,8 @@ class _EventInternalMetadata(object):
         rejection. This is needed as those events are marked as outliers, but
         they still need to be processed as if they're new events (e.g. updating
         invite state in the database, relaying to clients, etc).
+
+        (Added in synapse 0.99.0, so may be unreliable for events received before that)
         """
         return self._dict.get("out_of_band_membership", False)