mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 15:30:21 +00:00
Correct filtering
This commit is contained in:
parent
687156625a
commit
9bfeb92a53
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class ApplicationServiceScheduler:
|
|||
|
||||
# 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 self._hs.is_mine_id(event.sender)]
|
||||
events = [event for event in events if not self._hs.is_mine_id(event.sender)]
|
||||
|
||||
# We purposefully allow this method to run with empty events/ephemeral
|
||||
# collections, so that callers do not need to check iterable size themselves.
|
||||
|
|
Loading…
Reference in a new issue