fix
This commit is contained in:
1 parent
02578805ea
commit
974ce96c32
1 file changed
+1
-1
@@ -50,7 +50,7 @@ async def indexer_loop(memory, platform_found: bool, seqno: int) -> [bool, int]:
|
|||||||
try:
|
try:
|
||||||
user = new_license.user
|
user = new_license.user
|
||||||
if user.telegram_id and licensed_content:
|
if user.telegram_id and licensed_content:
|
||||||
await (Wrapped_CBotChat(memory._telegram_bot, chat_id=user.telegram_id, user=user)).send_content(
|
await (Wrapped_CBotChat(memory._telegram_bot, chat_id=user.telegram_id, user=user, db_session=session)).send_content(
|
||||||
session, licensed_content
|
session, licensed_content
|
||||||
)
|
)
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
|
|||||||
Reference in new issue
Block a user