diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-13 19:18:55 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-13 19:19:15 +0100 |
commit | d05aa651f80b604428c003a13a03c4f6f61c317d (patch) | |
tree | 655502cdd01fe89c0ab56a3b0d27cc9faf95b2e9 /synapse/storage/_base.py | |
parent | Allow advancing the MockClock's time (diff) | |
download | synapse-d05aa651f80b604428c003a13a03c4f6f61c317d.tar.xz |
An initial hack at storing presence state-change mtimes in database and presenting age durations to clients/federation events
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 1b98bdfcef..bf1800f4bf 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -29,6 +29,7 @@ class SQLBaseStore(object): def __init__(self, hs): self.hs = hs self._db_pool = hs.get_db_pool() + self._clock = hs.get_clock() def cursor_to_dict(self, cursor): """Converts a SQL cursor into an list of dicts. |