diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index 3a2eb19..9e18a5e 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -11,7 +11,7 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __license__ = "GNU General Public License v3.0" -__version__ = "2.8.6" +__version__ = "2.8.7" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/authorization.py b/davtelepot/authorization.py index 9f0bbf2..73a7c8d 100644 --- a/davtelepot/authorization.py +++ b/davtelepot/authorization.py @@ -617,7 +617,7 @@ async def _authorization_button(bot: Bot, language=language), prefix='auth:///', delimiter='|', - data=['picture', user_record['id']] + data=['picture', other_user_record['id']] ) ) if len(arguments) > 2: @@ -711,7 +711,7 @@ async def _authorization_button(bot: Bot, language=language), prefix='auth:///', delimiter='|', - data=['picture', user_record['id']] + data=['picture', other_user_record['id']] ) ) reply_markup = make_inline_keyboard(buttons, 1)