Add missing await
This commit is contained in:
@@ -1165,7 +1165,7 @@ class Portal:
|
|||||||
continue
|
continue
|
||||||
user = u.User.get_by_mxid(user_id, create=False)
|
user = u.User.get_by_mxid(user_id, create=False)
|
||||||
if user and user.tgid:
|
if user and user.tgid:
|
||||||
entity = self.get_input_entity(user)
|
entity = await self.get_input_entity(user)
|
||||||
if entity:
|
if entity:
|
||||||
break
|
break
|
||||||
if not entity:
|
if not entity:
|
||||||
|
|||||||
Reference in New Issue
Block a user