summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-12-23 14:00:54 -0600
committerEric Eastwood <erice@element.io>2022-12-23 14:00:54 -0600
commit0f2dda20b26ed1a9d6150cf0c0253f0d81464def (patch)
tree91635e2326bebbb217d462ba828535e707db8f11
parentCorrect filtering (diff)
downloadsynapse-0f2dda20b26ed1a9d6150cf0c0253f0d81464def.tar.xz
Add more/better comments
-rw-r--r--synapse/appservice/scheduler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/appservice/scheduler.py b/synapse/appservice/scheduler.py
index 7979647f22..8afdf0c993 100644
--- a/synapse/appservice/scheduler.py
+++ b/synapse/appservice/scheduler.py
@@ -140,6 +140,9 @@ class ApplicationServiceScheduler:
                 longer track the device lists of.
         """
 
+        # XXX: Special patch just for Gitter which we should remove after the import,
+        # https://github.com/matrix-org/synapse/pull/14729
+        #
         # Ignore events that come from our own users. We probably already know about
         # them and sent them ourself.
         events = [event for event in events if not self._hs.is_mine_id(event.sender)]