Skip to content

Commit

Permalink
Update livechat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CrisMystik authored Dec 5, 2020
1 parent e9fc147 commit aa1326a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BotBase/modules/livechat.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ async def join_chat(_, query):
cb_wrapper = MethodWrapper(query)
if CACHE[query.from_user.id][0] != "IN_CHAT":
user_id = int(query.data.split("_")[1])
user = wrapper.get_users(user_id)
user = await wrapper.get_users(user_id)
if isinstance(user, Exception):
user_name = "Anonymous"
elif user.first_name:
Expand Down

0 comments on commit aa1326a

Please sign in to comment.