diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-30 16:11:14 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-30 16:11:14 +0000 |
commit | 7d897f5bfc4bbb65aa9ab4fb8e601511633baf2c (patch) | |
tree | ccb776c4531d442f5c8c7629528d6e085bb45464 /synapse/state.py | |
parent | Allow any greater version for webclient (diff) | |
parent | Briefly doc structure of query_auth API. (diff) | |
download | synapse-7d897f5bfc4bbb65aa9ab4fb8e601511633baf2c.tar.xz |
Merge pull request #43 from matrix-org/rejections
Rejections
Diffstat (limited to 'synapse/state.py')
-rw-r--r-- | synapse/state.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/state.py b/synapse/state.py index 081bc31bb5..8a056ee955 100644 --- a/synapse/state.py +++ b/synapse/state.py @@ -168,10 +168,17 @@ class StateHandler(object): first is the name of a state group if one and only one is involved, otherwise `None`. """ + logger.debug("resolve_state_groups event_ids %s", event_ids) + state_groups = yield self.store.get_state_groups( event_ids ) + logger.debug( + "resolve_state_groups state_groups %s", + state_groups.keys() + ) + group_names = set(state_groups.keys()) if len(group_names) == 1: name, state_list = state_groups.items().pop() |