mirror of
https://github.com/civsocit/olgram.git
synced 2025-12-16 02:26:17 +00:00
tags
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user