From a0c6c9415ee2db19d364a14ee067a7ad2bac784f Mon Sep 17 00:00:00 2001 From: er8dd Date: Fri, 22 Mar 2024 03:55:50 +0400 Subject: [PATCH] tags --- server/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/custom.py b/server/custom.py index 4b84c2f..c3db8e3 100644 --- a/server/custom.py +++ b/server/custom.py @@ -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): """Пересылка сообщения от пользователя оператору (логика потоков сообщений)""" 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: tag = "" if tag: