feat(calendar): add reminder functionality for events with notifications
Some checks failed
Build & Push Docker Image / build (push) Has been cancelled
Some checks failed
Build & Push Docker Image / build (push) Has been cancelled
This commit is contained in:
@@ -18,6 +18,7 @@ import caldavRoutes from './routes/caldav.js';
|
||||
import notificationRoutes from './routes/notifications.js';
|
||||
import oauthRoutes from './routes/oauth.js';
|
||||
import { startFederationSync } from './jobs/federationSync.js';
|
||||
import { startCalendarReminders } from './jobs/calendarReminders.js';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
@@ -93,6 +94,8 @@ async function start() {
|
||||
|
||||
// Start periodic federation sync job (checks remote room settings every 60s)
|
||||
startFederationSync();
|
||||
// Start calendar reminder job (sends in-app + browser notifications before events)
|
||||
startCalendarReminders();
|
||||
}
|
||||
|
||||
start().catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user