When admin A
requests profile picture of user B
, send B's picture and not A's.
This commit is contained in:
parent
e813d37c8f
commit
fc486c60ce
@ -11,7 +11,7 @@ __author__ = "Davide Testa"
|
|||||||
__email__ = "davide@davte.it"
|
__email__ = "davide@davte.it"
|
||||||
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
||||||
__license__ = "GNU General Public License v3.0"
|
__license__ = "GNU General Public License v3.0"
|
||||||
__version__ = "2.8.6"
|
__version__ = "2.8.7"
|
||||||
__maintainer__ = "Davide Testa"
|
__maintainer__ = "Davide Testa"
|
||||||
__contact__ = "t.me/davte"
|
__contact__ = "t.me/davte"
|
||||||
|
|
||||||
|
@ -617,7 +617,7 @@ async def _authorization_button(bot: Bot,
|
|||||||
language=language),
|
language=language),
|
||||||
prefix='auth:///',
|
prefix='auth:///',
|
||||||
delimiter='|',
|
delimiter='|',
|
||||||
data=['picture', user_record['id']]
|
data=['picture', other_user_record['id']]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if len(arguments) > 2:
|
if len(arguments) > 2:
|
||||||
@ -711,7 +711,7 @@ async def _authorization_button(bot: Bot,
|
|||||||
language=language),
|
language=language),
|
||||||
prefix='auth:///',
|
prefix='auth:///',
|
||||||
delimiter='|',
|
delimiter='|',
|
||||||
data=['picture', user_record['id']]
|
data=['picture', other_user_record['id']]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
reply_markup = make_inline_keyboard(buttons, 1)
|
reply_markup = make_inline_keyboard(buttons, 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user