diff options
author | Erik Johnston <erik@matrix.org> | 2015-07-20 14:41:14 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-07-20 14:41:14 +0100 |
commit | bde97b988a0ff4cc9f5ed00ed9b97331fc0ff402 (patch) | |
tree | 29f0395b6e10288374eac7269c4954d39493d628 | |
parent | Remove semicolon. (diff) | |
parent | Improve naming (diff) | |
download | synapse-bde97b988a0ff4cc9f5ed00ed9b97331fc0ff402.tar.xz |
Merge pull request #204 from illicitonion/develop
Improve naming
-rw-r--r-- | synapse/notifier.py | 4 |
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: |