From 1fad85d48d3d27c1e238ab14ca11a930e0c1cd68 Mon Sep 17 00:00:00 2001 From: Tudor Gradinaru Date: Sat, 25 Oct 2025 18:31:01 +0300 Subject: [PATCH] feat: Add Matrix notification support Fixes #3034 --- .../Pages/v1/Notifications/create/index.jsx | 58 +++++++++++++++---- client/src/Pages/v1/Notifications/utils.js | 5 ++ client/src/Validation/validation.js | 34 ++++++++++- client/src/locales/en.json | 10 ++++ server/src/db/v1/models/Notification.js | 12 +++- .../v1/infrastructure/networkService.js | 36 ++++++++++++ .../notificationProviders/matrix.js | 34 +++++++++++ .../v1/infrastructure/notificationService.js | 9 +++ server/src/validation/joi.js | 36 +++++++++++- 9 files changed, 219 insertions(+), 15 deletions(-) create mode 100644 server/src/service/v1/infrastructure/notificationProviders/matrix.js diff --git a/client/src/Pages/v1/Notifications/create/index.jsx b/client/src/Pages/v1/Notifications/create/index.jsx index eb2b04aa6..b1c50493c 100644 --- a/client/src/Pages/v1/Notifications/create/index.jsx +++ b/client/src/Pages/v1/Notifications/create/index.jsx @@ -223,18 +223,54 @@ const CreateNotifications = () => { {t(DESCRIPTION_MAP[type])} - + {type === "matrix" ? ( + <> + + + + + ) : ( + + )} - - + {" "}