Skip to content

Commit

Permalink
Types are troble
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Nov 19, 2021
1 parent 047a8da commit 47957d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mautrix_telegram/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def find_by_username(cls, username: str) -> Optional['User']:
return None
# endregion

def init(context: 'Context') -> Future:
def init(context: 'Context') -> Iterable[Awaitable['User']]:
global config
config = context.config
User.bridge = context.bridge
Expand Down

0 comments on commit 47957d5

Please sign in to comment.