fix(lark): make normalizeAllowEntry consistent with channel.ts
This commit is contained in:
parent
d0d138e40a
commit
cea071f247
@ -33,7 +33,7 @@ function decrypt(encrypt: string, key: string): string {
|
||||
}
|
||||
|
||||
function normalizeAllowEntry(entry: string): string {
|
||||
return entry.trim().replace(/^lark:/i, "").replace(/^feishu:/i, "").toLowerCase();
|
||||
return entry.trim().replace(/^lark:/i, "").replace(/^feishu:/i, "");
|
||||
}
|
||||
|
||||
function isAllowed(senderId: string, allowFrom: string[], dmPolicy: string): boolean {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user