mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
fix #3744
This commit is contained in:
@@ -531,6 +531,9 @@ class ChainBase(metaclass=ABCMeta):
|
|||||||
# 管理员发过了,此消息不发了
|
# 管理员发过了,此消息不发了
|
||||||
logger.info(f"用户 {send_message.username} 不存在,消息无法发送到对应用户")
|
logger.info(f"用户 {send_message.username} 不存在,消息无法发送到对应用户")
|
||||||
continue
|
continue
|
||||||
|
elif send_message.username == settings.SUPERUSER:
|
||||||
|
# 管理员同名已发送
|
||||||
|
admin_sended = True
|
||||||
else:
|
else:
|
||||||
# 按原消息发送全体
|
# 按原消息发送全体
|
||||||
if not admin_sended:
|
if not admin_sended:
|
||||||
|
|||||||
Reference in New Issue
Block a user