summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-01-05 13:58:19 +0000
committerMatthew Hodgson <matthew@matrix.org>2017-01-05 13:58:19 +0000
commitbd85434cb398a8272a1276574db4d28dc76f7f3f (patch)
treebbecac7c1e86ba5a863f1a36fb7f9d9a1a9c6d7d /synapse/storage/roommember.py
parentMerge branch 'release-v0.18.6' into develop (diff)
parentFix flake8 and update changelog (diff)
downloadsynapse-bd85434cb398a8272a1276574db4d28dc76f7f3f.tar.xz
Merge branch 'release-v0.18.6' into develop
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r--synapse/storage/roommember.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index 946d5a81cc..5d18037c7c 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -393,8 +393,8 @@ class RoomMemberStore(SQLBaseStore):
     @cachedInlineCallbacks(num_args=2, cache_context=True)
     def _get_joined_users_from_context(self, room_id, state_group, current_state_ids,
                                        cache_context, event=None):
-        # We don't use `state_group`, its there so that we can cache based
-        # on it. However, its important that its never None, since two current_state's
+        # We don't use `state_group`, it's there so that we can cache based
+        # on it. However, it's important that it's never None, since two current_states
         # with a state_group of None are likely to be different.
         # See bulk_get_push_rules_for_room for how we work around this.
         assert state_group is not None