summary refs log tree commit diff
path: root/synapse/notifier.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-07-12 01:32:39 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-07-12 01:32:39 +0100
commit5797f5542b687b73ebdd8613f64ce0f38e637b55 (patch)
tree20a17a70538138be79ad1d37c62bb6ab115aaa2f /synapse/notifier.py
parentMerge pull request #3498 from OlegGirko/fix_attrs_syntax (diff)
downloadsynapse-5797f5542b687b73ebdd8613f64ce0f38e637b55.tar.xz
WIP to announce deleted devices over federation
Previously we queued up the poke correctly when the device was deleted,
but then the actual EDU wouldn't get sent, as the device was no longer known.
Instead, we now send EDUs for deleted devices too if there's a poke for them.
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r--synapse/notifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 51cbd66f06..e650c3e494 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -274,7 +274,7 @@ class Notifier(object):
             logger.exception("Error notifying application services of event")
 
     def on_new_event(self, stream_key, new_token, users=[], rooms=[]):
-        """ Used to inform listeners that something has happend event wise.
+        """ Used to inform listeners that something has happened event wise.
 
         Will wake up all listeners for the given users and rooms.
         """