diff options
author | Erik Johnston <erik@matrix.org> | 2017-03-27 14:03:38 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-03-30 11:48:35 +0100 |
commit | 24d35ab47bdec651706a221974424409d9ab036b (patch) | |
tree | 17231cca811506a14ab23094c0ffc2c7c621df95 /synapse/handlers | |
parent | Use txn.fetchall() so we can reuse txn (diff) | |
download | synapse-24d35ab47bdec651706a221974424409d9ab036b.tar.xz |
Add new storage functions for new replication
The new replication protocol will keep all the streams separate, rather than muxing multiple streams into one.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/typing.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py index 0eea7f8f9c..d6809862e0 100644 --- a/synapse/handlers/typing.py +++ b/synapse/handlers/typing.py @@ -293,6 +293,9 @@ class TypingHandler(object): rows.sort() return rows + def get_current_token(self): + return self._latest_room_serial + class TypingNotificationEventSource(object): def __init__(self, hs): |