diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-12 13:54:13 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-12 17:11:09 +0100 |
commit | ca1ae7cf9b4c75f677f453be1fb7d9a06c17194d (patch) | |
tree | e4aa730704a5b55603922e8406e71e0cd4bde27f /synapse | |
parent | Clean data when user logs out (diff) | |
download | synapse-ca1ae7cf9b4c75f677f453be1fb7d9a06c17194d.tar.xz |
Fix bug where we didn't return a tuple when expected.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/pdu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/pdu.py b/synapse/storage/pdu.py index 3cbce2d0a1..f780111b3b 100644 --- a/synapse/storage/pdu.py +++ b/synapse/storage/pdu.py @@ -516,7 +516,7 @@ class StatePduStore(SQLBaseStore): if not current: logger.debug("get_unresolved_state_tree No current state.") - return return_value + return (return_value, None) return_value.current_branch.append(current) |