1
0
mirror of https://github.com/civsocit/olgram.git synced 2025-05-24 14:23:25 +00:00
This commit is contained in:
er8dd 2024-03-22 03:55:50 +04:00
parent dab803a4e8
commit a0c6c9415e

View File

@ -129,7 +129,7 @@ async def send_user_message(message: types.Message, super_chat_id: int, bot, tag
async def send_to_superchat(is_super_group: bool, message: types.Message, super_chat_id: int, bot): async def send_to_superchat(is_super_group: bool, message: types.Message, super_chat_id: int, bot):
"""Пересылка сообщения от пользователя оператору (логика потоков сообщений)""" """Пересылка сообщения от пользователя оператору (логика потоков сообщений)"""
if bot.enable_tags: if bot.enable_tags:
tag = await _redis.get(_tag_uid(bot.pk, message.chat.id)) tag = await _redis.get(_tag_uid(bot.pk, message.chat.id), encoding="utf-8")
else: else:
tag = "" tag = ""
if tag: if tag: