feat: enable WeChat media for all users

This commit is contained in:
john
2026-07-18 21:20:56 +08:00
parent 1161292482
commit 2ce1527edd
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -1198,6 +1198,7 @@ function isWechatMediaGrayUser(user, configuredUsers = []) {
? configuredUsers.map((value) => String(value ?? '').trim().toLowerCase()).filter(Boolean)
: [];
if (allowlist.length === 0) return false;
if (allowlist.includes('*')) return true;
const identities = [
user?.userId,
user?.username,