Assume rooms likely haven't changed

This commit is contained in:
Erik Johnston 2017-03-13 09:50:10 +00:00
parent 8ffbe43ba1
commit 79926e016e
2 changed files with 14 additions and 8 deletions

View file

@ -829,3 +829,6 @@ class StreamStore(SQLBaseStore):
updatevalues={"stream_id": stream_id},
desc="update_federation_out_pos",
)
def has_room_changed_since(self, room_id, stream_id):
return self._events_stream_cache.has_entity_changed(room_id, stream_id)