feat: Add Matrix notification support Fixes #3034

This commit is contained in:
Tudor Gradinaru committed 2025-10-25 18:35:15 +03:00
1 parent daf5797fed
commit 1fad85d48d
9 files changed
+219 -15

No files matched your search

+11 -1
View File
@@ -16,7 +16,7 @@ const NotificationSchema = mongoose.Schema(
},
type: {
type: String,
enum: ["email", "slack", "discord", "webhook", "pager_duty"],
enum: ["email", "slack", "discord", "webhook", "pager_duty", "matrix"],
},
notificationName: {
type: String,
@@ -28,6 +28,16 @@ const NotificationSchema = mongoose.Schema(
phone: {
type: String,
},
// Matrix-specific fields
homeserverUrl: {
type: String,
},
roomId: {
type: String,
},
accessToken: {
type: String,
},
},
{
timestamps: true,