mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-25 06:49:28 +01:00
Add Matrix notification (#136)
* Add Matrix notification (#124) * Fix docs Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -70,6 +70,12 @@ func TestLoadFile(t *testing.T) {
|
||||
From: "diun@example.com",
|
||||
To: "webmaster@example.com",
|
||||
},
|
||||
Matrix: &model.NotifMatrix{
|
||||
HomeserverURL: "https://matrix.org",
|
||||
User: "@foo:matrix.org",
|
||||
Password: "bar",
|
||||
RoomID: "!abcdefGHIjklmno:matrix.org",
|
||||
},
|
||||
RocketChat: &model.NotifRocketChat{
|
||||
Endpoint: "http://rocket.foo.com:3000",
|
||||
Channel: "#general",
|
||||
|
||||
Reference in New Issue
Block a user