aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-05-11 10:15:25 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-05-12 11:04:00 +0200
commit76127ed53c527641a31e069e2f525ac22982463f (patch)
tree35831585f7abc2174ab049f91e6758a5bdc6e4b2
parent344ae8a55d0a797bc1601f08d0e492be1d45c478 (diff)
doc/mod/notification-matrix: RouterOS v7 path syntax
-rw-r--r--doc/mod/notification-matrix.d/01-home-server.avifbin2402 -> 2317 bytes
-rw-r--r--doc/mod/notification-matrix.d/02-access-token.avifbin4278 -> 4105 bytes
-rw-r--r--doc/mod/notification-matrix.d/03-join-room.avifbin3143 -> 3166 bytes
-rw-r--r--doc/mod/notification-matrix.md6
4 files changed, 3 insertions, 3 deletions
diff --git a/doc/mod/notification-matrix.d/01-home-server.avif b/doc/mod/notification-matrix.d/01-home-server.avif
index 8a79ae6..683c7b5 100644
--- a/doc/mod/notification-matrix.d/01-home-server.avif
+++ b/doc/mod/notification-matrix.d/01-home-server.avif
Binary files differ
diff --git a/doc/mod/notification-matrix.d/02-access-token.avif b/doc/mod/notification-matrix.d/02-access-token.avif
index 8a0b647..54109a6 100644
--- a/doc/mod/notification-matrix.d/02-access-token.avif
+++ b/doc/mod/notification-matrix.d/02-access-token.avif
Binary files differ
diff --git a/doc/mod/notification-matrix.d/03-join-room.avif b/doc/mod/notification-matrix.d/03-join-room.avif
index c7fad4e..45974b8 100644
--- a/doc/mod/notification-matrix.d/03-join-room.avif
+++ b/doc/mod/notification-matrix.d/03-join-room.avif
Binary files differ
diff --git a/doc/mod/notification-matrix.md b/doc/mod/notification-matrix.md
index 91a39e5..3da5659 100644
--- a/doc/mod/notification-matrix.md
+++ b/doc/mod/notification-matrix.md
@@ -42,7 +42,7 @@ Your best bet is to query the server at `domain` with the
[well-known uri](https://spec.matrix.org/latest/client-server-api/#well-known-uri).
For "*matrix.org*" this query is:
- / tool fetch "https://matrix.org/.well-known/matrix/client" output=user;
+ /tool/fetch "https://matrix.org/.well-known/matrix/client" output=user;
![home server](notification-matrix.d/01-home-server.avif)
@@ -59,7 +59,7 @@ account must be sent to the home server via
We use the home server discovered above, "*matrix-client.matrix.org*".
The user is "*example*" and password is "*v3ry-s3cr3t*".
- / tool fetch "https://matrix-client.matrix.org/_matrix/client/r0/login" http-method=post http-data="{\"type\":\"m.login.password\", \"user\":\"example\", \"password\":\"v3ry-s3cr3t\"}" output=user;
+ /tool/fetch "https://matrix-client.matrix.org/_matrix/client/r0/login" http-method=post http-data="{\"type\":\"m.login.password\", \"user\":\"example\", \"password\":\"v3ry-s3cr3t\"}" output=user;
![access token](notification-matrix.d/02-access-token.avif)
@@ -80,7 +80,7 @@ this can be done with
Make sure to replace room id ("*!*" is escaped with "*%21*") and access token
with your data.
- / tool fetch "https://matrix-client.matrix.org/_matrix/client/r0/rooms/%21WUcxpSjKyxSGelouhA:matrix.org/join?access_token=yt_ZXdvcm0tdGVzdA_NNqUyvKHRhBLZmnzVVSK_0xu6yN" http-method=post http-data="" output=user;
+ /tool/fetch "https://matrix-client.matrix.org/_matrix/client/r0/rooms/%21WUcxpSjKyxSGelouhA:matrix.org/join?access_token=yt_ZXdvcm0tdGVzdA_NNqUyvKHRhBLZmnzVVSK_0xu6yN" http-method=post http-data="" output=user;
![join room](notification-matrix.d/03-join-room.avif)