summary refs log tree commit diff
path: root/synapse/notifier.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-20 14:41:14 +0100
committerErik Johnston <erik@matrix.org>2015-07-20 14:41:14 +0100
commitbde97b988a0ff4cc9f5ed00ed9b97331fc0ff402 (patch)
tree29f0395b6e10288374eac7269c4954d39493d628 /synapse/notifier.py
parentRemove semicolon. (diff)
parentImprove naming (diff)
downloadsynapse-bde97b988a0ff4cc9f5ed00ed9b97331fc0ff402.tar.xz
Merge pull request #204 from illicitonion/develop
Improve naming
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r--synapse/notifier.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 85ae343135..dbd8efe9fb 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -352,10 +352,10 @@ class Notifier(object):
                 after_id = getattr(after_token, keyname)
                 if before_id == after_id:
                     continue
-                stuff, new_key = yield source.get_new_events_for_user(
+                new_events, new_key = yield source.get_new_events_for_user(
                     user, getattr(from_token, keyname), limit,
                 )
-                events.extend(stuff)
+                events.extend(new_events)
                 end_token = end_token.copy_and_replace(keyname, new_key)
 
             if events: