summary refs log tree commit diff
path: root/synapse/handlers/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-10 11:59:53 +0000
committerErik Johnston <erik@matrix.org>2014-12-10 11:59:53 +0000
commit018443cb5914f8c4a5488397cc1c19689e949aff (patch)
treefe8f25c62598302c15b2b6c9c3cd28a8724f2c9b /synapse/handlers/_base.py
parentAdd __str__ to FrozenEvent (diff)
downloadsynapse-018443cb5914f8c4a5488397cc1c19689e949aff.tar.xz
Make depth increase.
Diffstat (limited to 'synapse/handlers/_base.py')
-rw-r--r--synapse/handlers/_base.py2
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