diff options
author | Erik Johnston <erik@matrix.org> | 2019-02-19 11:38:40 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-02-19 11:38:40 +0000 |
commit | 62175a20e51b4ce71b9e7a18755a42e259bd2ff8 (patch) | |
tree | de9255418a68e95736da41e96c8dd70a2ae0752e /synapse/storage | |
parent | Use itertools (diff) | |
download | synapse-62175a20e51b4ce71b9e7a18755a42e259bd2ff8.tar.xz |
Docs
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/_base.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 9db594bc42..f1a5366b95 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -1201,7 +1201,7 @@ class SQLBaseStore(object): Args: txn room_id (str): Room where state changed - members_changed (Iterable[str]): The user_ids of members that have changed + members_changed (iterable[str]): The user_ids of members that have changed """ txn.call_after(self._invalidate_state_caches, room_id, members_changed) @@ -1216,7 +1216,8 @@ class SQLBaseStore(object): Args: room_id (str): Room where state changed - members_changed (set[str]): The user_ids of members that have changed + members_changed (iterable[str]): The user_ids of members that have + changed """ for member in members_changed: self.get_rooms_for_user_with_stream_ordering.invalidate((member,)) |