mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
Return don't break
This commit is contained in:
parent
7ecd211163
commit
9654ee0848
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def _condition_checker(evaluator, conditions, uid, display_name, cache):
|
|||
if _id:
|
||||
res = cache.get(_id, None)
|
||||
if res is False:
|
||||
break
|
||||
return False
|
||||
elif res is True:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in a new issue