diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-28 17:23:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-28 17:23:53 +0100 |
commit | 0126ef7f3c1304bd920260db369628d39b4badd3 (patch) | |
tree | ea41321dedf1f5e7477fcb00d8380acf80658742 | |
parent | Ensure the serial returned by presence is always an integer (diff) | |
download | synapse-0126ef7f3c1304bd920260db369628d39b4badd3.tar.xz |
Fix typo
-rw-r--r-- | synapse/handlers/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 774df46aba..47cfe62c82 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -881,7 +881,7 @@ class PresenceEventSource(object): if serial < from_key: break - latest_serial = max(cached.serial, serial) + latest_serial = max(latest_serial, serial) for u in user_ids: updates.append({ "type": "m.presence", |