Fix: qrcode while using user's profile
This commit is contained in:
@@ -44,7 +44,7 @@ async def cd(e):
|
||||
if reply and (reply.sticker or reply.photo):
|
||||
cimg = await reply.download_media()
|
||||
elif ultroid_bot.me.photo and not ultroid_bot.me.photo.has_video:
|
||||
cimg = await e.client.get_profile_photos(ultroid_bot.uid, limit=1)[0]
|
||||
cimg = (await e.client.get_profile_photos(ultroid_bot.uid, limit=1))[0]
|
||||
|
||||
kk = await e.eor(get_string("com_1"))
|
||||
img = cimg or default
|
||||
|
||||
Reference in New Issue
Block a user