This commit is contained in:
Alex Holliday committed 2026-02-16 21:49:42 +00:00
1 parent 0e1dc3e3fe
commit 6f55e4934f
2 files changed
+157

No files matched your search

@@ -90,6 +90,15 @@ export class NotificationsService implements INotificationsService {
return await this.slackProvider.sendMessage(notification, notificationMessage);
}
if (notification.type === "matrix" && this.matrixProvider.sendMessage && notificationMessage) {
this.logger.info({
message: "[NEW] Using sendMessage for matrix",
service: SERVICE_NAME,
method: "send",
});
return await this.matrixProvider.sendMessage(notification, notificationMessage);
}
// Fallback to existing sendAlert for all providers
switch (notification.type) {
case "email":