|
|
|
@ -185,8 +185,8 @@ def _process_message(bot: Bot, m: Message):
|
|
|
|
|
user.update_from_message(r)
|
|
|
|
|
except Unauthorized:
|
|
|
|
|
try:
|
|
|
|
|
name = conn.root.users[uid].name
|
|
|
|
|
del conn.root.users[uid]
|
|
|
|
|
name = conn.root.subscribers[uid].name
|
|
|
|
|
del conn.root.subscribers[uid]
|
|
|
|
|
commit()
|
|
|
|
|
bot.send_message(MANAGEMENT_CHAT, f'<a href="tg://user?id={uid}">{name}</a> был удален '
|
|
|
|
|
f'из-за блокировки бота', parse_mode='html')
|
|
|
|
|