summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-19 16:22:53 +0100
committerErik Johnston <erik@matrix.org>2015-06-19 16:22:53 +0100
commit2f556e0c55c816b1344c88b964e6f86e397367d7 (patch)
tree45e88986e0f220fa0c898dea7d82a966ec93cc3c
parentMerge pull request #192 from matrix-org/erikj/fix_log_context (diff)
downloadsynapse-2f556e0c55c816b1344c88b964e6f86e397367d7.tar.xz
Fix typo
-rw-r--r--synapse/notifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index d6655f3f5a..bdd03dcbe8 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -104,7 +104,7 @@ class _NotifierUserStream(object):
             ).discard(self)
 
     def count_listeners(self):
-        return len(self.noify_deferred.observers())
+        return len(self.notify_deferred.observers())
 
     def new_listener(self, token):
         """Returns a deferred that is resolved when there is a new token