summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-12-23 14:00:54 -0600
committerJason Robinson <jasonr@element.io>2022-12-24 10:43:14 +0200
commiteb2ac3f4cc26c340e2c51a8fe301e4df5ac98147 (patch)
treed6f3316a6b9f8e4d0568f1ee5aa839716cf4c7b7
parentCorrect filtering (diff)
downloadsynapse-eb2ac3f4cc26c340e2c51a8fe301e4df5ac98147.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)]