Skip to content
Snippets Groups Projects
Commit cc9c97e0 authored by Erik Johnston's avatar Erik Johnston
Browse files

Invalidate _account_data_stream_cache correctly

parent e7016503
No related branches found
No related tags found
No related merge requests found
......@@ -157,6 +157,10 @@ class AccountDataStore(SQLBaseStore):
"content": content_json,
}
)
txn.call_after(
self._account_data_stream_cache.entity_has_changed,
user_id, next_id,
)
self._update_max_stream_id(txn, next_id)
with (yield self._account_data_id_gen.get_next(self)) as next_id:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment