Compare commits

..

3 Commits

Author SHA1 Message Date
bf9180a174
pages/matrix: fix syntax 2023-06-08 17:47:01 +03:00
a692809196
pages/matrix: switch to jsonnet syntax highlighting
https://github.com/rouge-ruby/rouge/wiki/List-of-supported-languages-and-lexers is used by Jekyll and recognises it and I didn't find json-doc with quick search
2023-06-08 17:44:24 +03:00
507f4eac70
matrix: add more event examples 2023-06-08 17:38:56 +03:00

View File

@ -301,20 +301,53 @@ topic_.
Sample events for `/devtools`
```json5
```jsonnet
// m.room.join_rules
{
join_rule: "knock",
}
```
```json5
```jsonnet
// m.room.history_visibility
{
history_visibility: "invited",
}
```
```jsonnet
// m.room.avatar
{
url: "mxc://example.org/YouShouldKnowHowToGetThis",
}
```
```jsonnet
// m.room.name
{
"name": "Room Awesome!"
}
```
```jsonnet
// m.space.parent
// state key is room id with !
{
"via": [
"example.com",
"example.net",
"example.org"
]
}
```
```jsonnet
// m.room.topic
{
topic: "This is my awesome topic \n Dare to disagree!",
}
```
### What are these idlekicks for inactivity, why are they for?
Some Matrix rooms decide to connect their channel to IRC maintaining the same users on both sides, which can be heavy for the IRC network depending on bridge type of which there are three "major" variants: