global-functions: implement notifications via Matrix

Matrix is an open network for secure, decentralized communication - and
it has a web api.

A warning on message type: Using 'm.notice' breaks rendering on Element
for Android (no fixed width font) and does not pop up desktop
notification. Thus we use 'm.text'. Should be safe as we do not send the
messages in response to other messages.

https://matrix.org/
This commit is contained in:
Michael Gisbers 2021-05-28 17:30:37 +02:00 committed by Christian Hesse
parent 7a43bfbc6a
commit 8375673d93
15 changed files with 186 additions and 18 deletions

View file

@ -27,8 +27,8 @@ Just install the script:
Configuration
-------------
Notification settings are required for e-mail and telegram. Also you have
to enable receiving of SMS:
Notification settings are required for e-mail, matrix and/or telegram. Also
you have to enable receiving of SMS:
/ tool sms set receive-enabled=yes;