mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 13:05:08 +02:00
Ignore email tags in inbound mail (#8451)
Signed-off-by: Nikolay Chunosov <Chunosov.N@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
function validateName (name: string): boolean {
|
||||
const n = name.trim()
|
||||
return n.length >= mailboxOptions.minNameLength && n.length <= mailboxOptions.maxNameLength
|
||||
return n.length >= mailboxOptions.minNameLength && n.length <= mailboxOptions.maxNameLength && !name.includes('+')
|
||||
}
|
||||
|
||||
async function createMailbox (): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user