mirror of
https://github.com/civsocit/olgram.git
synced 2025-05-24 14:23:25 +00:00
tags
This commit is contained in:
parent
dab803a4e8
commit
a0c6c9415e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user