diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-10 11:59:53 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-10 11:59:53 +0000 |
commit | 018443cb5914f8c4a5488397cc1c19689e949aff (patch) | |
tree | fe8f25c62598302c15b2b6c9c3cd28a8724f2c9b /synapse/handlers/_base.py | |
parent | Add __str__ to FrozenEvent (diff) | |
download | synapse-018443cb5914f8c4a5488397cc1c19689e949aff.tar.xz |
Make depth increase.
Diffstat (limited to 'synapse/handlers/_base.py')
-rw-r--r-- | synapse/handlers/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py index 2c737c8bf9..6b5f6e7cd8 100644 --- a/synapse/handlers/_base.py +++ b/synapse/handlers/_base.py @@ -70,7 +70,7 @@ class BaseHandler(object): ) if latest_ret: - depth = max([d for _, _, d in latest_ret]) + depth = max([d for _, _, d in latest_ret]) + 1 else: depth = 1 |