mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 13:23:04 +00:00
feat(mail-ingest): tell every address holder once when the import stops
A plan without the import switches it off from outside the server, and an admin can switch it off too; the plan promises a "mail import paused" note. An hourly job sends mail_ingest_paused to each holder of a live address with their own import on, notes the pause first, and forgets it once it is back.
This commit is contained in:
@@ -98,6 +98,10 @@ const id: NotificationLocale = {
|
||||
title: 'Pemesanan terusan untuk ditinjau',
|
||||
body: `Pemesanan terusan yang menunggumu di TREK: ${p.count}. Masing-masing menyebutkan mengapa tidak ditambahkan otomatis.`,
|
||||
}),
|
||||
mail_ingest_paused: () => ({
|
||||
title: 'Impor email dijeda',
|
||||
body: 'TREK untuk sementara tidak menerima email pemesanan yang diteruskan, jadi tunda dulu meneruskannya. Alamatmu tetap ada dan akan berfungsi lagi saat impor kembali, dan pemesanan yang sudah ditambahkan tetap ada di perjalananmu.',
|
||||
}),
|
||||
plugin_notification: (p) => ({ title: p.title ?? '', body: p.body ?? '' }),
|
||||
},
|
||||
passwordReset: {
|
||||
|
||||
Reference in New Issue
Block a user