fix:偷表情包配置生效

This commit is contained in:
SengokuCola
2025-06-02 22:23:11 +08:00
parent dd4a327b18
commit 78f6476ebd
4 changed files with 33 additions and 44 deletions

View File

@@ -602,9 +602,9 @@ class EmojiManager:
continue
# 检查是否需要处理表情包(数量超过最大值或不足)
if (self.emoji_num > self.emoji_num_max and global_config.emoji.do_replace) or (
if global_config.emoji.steal_emoji and ((self.emoji_num > self.emoji_num_max and global_config.emoji.do_replace) or (
self.emoji_num < self.emoji_num_max
):
)):
try:
# 获取目录下所有图片文件
files_to_process = [