mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-11 18:36:52 +00: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:
|
if _id:
|
||||||
res = cache.get(_id, None)
|
res = cache.get(_id, None)
|
||||||
if res is False:
|
if res is False:
|
||||||
break
|
return False
|
||||||
elif res is True:
|
elif res is True:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue