Skip to content

Commit 24db393

Browse files
committed
feature #59377 [Notifier] Add Matrix bridge (chii0815)
This PR was squashed before being merged into the 7.3 branch. Discussion ---------- [Notifier] Add Matrix bridge | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | License | MIT Docs PR: symfony/symfony-docs#20548 Recipe PR: symfony/recipes#1374 Added a new notifier bridge for Matrix Synapse. Whats implemented in this? - sends message to roomID when roomID or userID or roomAlias (see above) is given as recipient - fetches roomID of private room when userID is given as recipient, if no room is available it will be created and the recipiant will be invited to join - fetches roomID when roomAlias is given as recipient Whats not implemented at the moment? - end-to-end encryption, all messages will be unencrypted even if E2E enabled in the room. Commits ------- af8b15d0d7d [Notifier] Add Matrix bridge
2 parents 7259819 + e7ba416 commit 24db393

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3005,6 +3005,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
30053005
NotifierBridge\Lox24\Lox24TransportFactory::class => 'notifier.transport_factory.lox24',
30063006
NotifierBridge\Mailjet\MailjetTransportFactory::class => 'notifier.transport_factory.mailjet',
30073007
NotifierBridge\Mastodon\MastodonTransportFactory::class => 'notifier.transport_factory.mastodon',
3008+
NotifierBridge\Matrix\MatrixTransportFactory::class => 'notifier.transport_factory.matrix',
30083009
NotifierBridge\Mattermost\MattermostTransportFactory::class => 'notifier.transport_factory.mattermost',
30093010
NotifierBridge\Mercure\MercureTransportFactory::class => 'notifier.transport_factory.mercure',
30103011
NotifierBridge\MessageBird\MessageBirdTransportFactory::class => 'notifier.transport_factory.message-bird',

Resources/config/notifier_transports.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
'line-notify' => Bridge\LineNotify\LineNotifyTransportFactory::class,
3737
'linked-in' => Bridge\LinkedIn\LinkedInTransportFactory::class,
3838
'mastodon' => Bridge\Mastodon\MastodonTransportFactory::class,
39+
'matrix' => Bridge\Matrix\MatrixTransportFactory::class,
3940
'mattermost' => Bridge\Mattermost\MattermostTransportFactory::class,
4041
'mercure' => Bridge\Mercure\MercureTransportFactory::class,
4142
'microsoft-teams' => Bridge\MicrosoftTeams\MicrosoftTeamsTransportFactory::class,

0 commit comments

Comments
 (0)