fix 下载进度推送逻辑

This commit is contained in:
thsrite 2023-09-28 15:32:07 +08:00
parent 2202cf457b
commit 63ca5f5017

View File

@ -117,7 +117,8 @@ class DownloadingMsg(_PluginBase):
if not userid:
continue
# 如果用户是管理员,无需重复推送
if self._adminuser and userid in str(self._adminuser).split(","):
if self._type == "admin" or self._type == "both" and self._adminuser and userid in str(
self._adminuser).split(","):
logger.debug("管理员已推送")
continue