Hook up the push rules stream to account_data in /sync

This commit is contained in:
Mark Haines 2016-03-04 14:44:01 +00:00
parent 3406eba4ef
commit 1b4f4a936f
4 changed files with 85 additions and 69 deletions

View file

@ -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):