summary refs log tree commit diff
path: root/synapse/handlers/_base.py
diff options
context:
space:
mode:
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