diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-03-04 14:44:01 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-03-04 14:44:01 +0000 |
commit | 1b4f4a936fb416d81203fcd66be690f9a04b2b62 (patch) | |
tree | e9d7be97688385f7d221822495bbf6ee19401600 /synapse/storage/__init__.py | |
parent | Move the code for formatting push rules into a separate function (diff) | |
download | synapse-1b4f4a936fb416d81203fcd66be690f9a04b2b62.tar.xz |
Hook up the push rules stream to account_data in /sync
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index e2d7b52569..7b7b03d052 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -160,6 +160,11 @@ class DataStore(RoomMemberStore, RoomStore, prefilled_cache=presence_cache_prefill ) + self.push_rules_stream_cache = StreamChangeCache( + "PushRulesStreamChangeCache", + self._push_rules_stream_id_gen.get_max_token()[0], + ) + super(DataStore, self).__init__(hs) def take_presence_startup_info(self): |