From b65b3a3b7d6b94851b6af4ae2718ecbab8b4567a Mon Sep 17 00:00:00 2001 From: Dominik George <nik@naturalnet.de> Date: Thu, 22 Apr 2021 15:17:04 +0200 Subject: [PATCH] Use singular for event types --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2132d60..d95523c 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ as state key. By default, these states can be set by each user for themselves. Any Matrix room can be augmented with an arbitrary number of maps, by adding the [JSON formatted map](https://doc.mapeditor.org/en/stable/reference/json-map-format/) -to the room state under the `team.auglement.augmentile.maps` event. The state key +to the room state under the `team.auglement.augmentile.map` event. The state key is the map name, which can be used as `exitUrl` in other maps. To add a Tiled map to a Matrix room, export your map in JSON format (we will assume @@ -78,7 +78,7 @@ curl \ -H "Authorization: Bearer AccessToken" \ -H "Content-Type: application/json" \ -d @mymap.json \ - https://matrix.org/_matrix/client/r0/rooms/%21roomid%3Amatrix.org/state/team.auglement.augmentile.maps/mymap + https://matrix.org/_matrix/client/r0/rooms/%21roomid%3Amatrix.org/state/team.auglement.augmentile.map/mymap ``` ### Adding the game as room widget -- GitLab