mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-22 11:19:22 +01:00
matrix/m.room.power_levels: add missing quotes, switch to jsonnet syntax highlighting
It will probably not work as hilightjs doesn't have that
This commit is contained in:
parent
b62886da01
commit
c60e67882d
@ -55,10 +55,10 @@ Generic notes:
|
|||||||
|
|
||||||
This is not the Element/Synapse default as that would be pointless to list.
|
This is not the Element/Synapse default as that would be pointless to list.
|
||||||
|
|
||||||
```json5
|
```jsonnet
|
||||||
{
|
{
|
||||||
ban: 50,
|
"ban": 50,
|
||||||
events: {
|
"events": {
|
||||||
"im.vector.modular.widgets": 50,
|
"im.vector.modular.widgets": 50,
|
||||||
"m.room.avatar": 50,
|
"m.room.avatar": 50,
|
||||||
"m.room.canonical_alias": 13,
|
"m.room.canonical_alias": 13,
|
||||||
@ -74,16 +74,16 @@ This is not the Element/Synapse default as that would be pointless to list.
|
|||||||
"m.room.topic": 25,
|
"m.room.topic": 25,
|
||||||
"m.space.child": 50,
|
"m.space.child": 50,
|
||||||
},
|
},
|
||||||
events_default: 0,
|
"events_default": 0,
|
||||||
historical: 100,
|
"historical": 100,
|
||||||
invite: 0,
|
"invite": 0,
|
||||||
kick: 25,
|
"kick": 25,
|
||||||
redact: 25,
|
"redact": 25,
|
||||||
state_default: 50,
|
"state_default": 50,
|
||||||
users: {
|
"users": {
|
||||||
// READ THE BEGINNING OF THE FILE FOR THIS SECTION AND PROPER FORMAT! OR SEE YOUR CURRENT EVENT!
|
// READ THE BEGINNING OF THE FILE FOR THIS SECTION AND PROPER FORMAT! OR SEE YOUR CURRENT EVENT!
|
||||||
},
|
},
|
||||||
users_default: 0,
|
"users_default": 0,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -111,10 +111,10 @@ This is not the Element/Synapse default as that would be pointless to list.
|
|||||||
|
|
||||||
### Medium version
|
### Medium version
|
||||||
|
|
||||||
```json5
|
```jsonnet
|
||||||
{
|
{
|
||||||
ban: 50,
|
"ban": 50,
|
||||||
events: {
|
"events": {
|
||||||
"im.vector.modular.widgets": 50,
|
"im.vector.modular.widgets": 50,
|
||||||
"m.room.avatar": 50,
|
"m.room.avatar": 50,
|
||||||
"m.room.canonical_alias": 13,
|
"m.room.canonical_alias": 13,
|
||||||
@ -130,16 +130,16 @@ This is not the Element/Synapse default as that would be pointless to list.
|
|||||||
"m.room.topic": 25,
|
"m.room.topic": 25,
|
||||||
"m.space.child": 50,
|
"m.space.child": 50,
|
||||||
},
|
},
|
||||||
events_default: 0,
|
"events_default": 0,
|
||||||
historical: 100,
|
"historical": 100,
|
||||||
invite: 50,
|
"invite": 50,
|
||||||
kick: 25,
|
"kick": 25,
|
||||||
redact: 25,
|
"redact": 25,
|
||||||
state_default: 50,
|
"state_default": 50,
|
||||||
users: {
|
"users": {
|
||||||
// READ THE BEGINNING OF THE FILE FOR THIS SECTION AND PROPER FORMAT! OR SEE YOUR CURRENT EVENT!
|
// READ THE BEGINNING OF THE FILE FOR THIS SECTION AND PROPER FORMAT! OR SEE YOUR CURRENT EVENT!
|
||||||
},
|
},
|
||||||
users_default: 0,
|
"users_default": 0,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -148,10 +148,10 @@ This is not the Element/Synapse default as that would be pointless to list.
|
|||||||
|
|
||||||
### Paranoid version
|
### Paranoid version
|
||||||
|
|
||||||
```json5
|
```jsonnet
|
||||||
{
|
{
|
||||||
ban: 50,
|
"ban": 50,
|
||||||
events: {
|
"events": {
|
||||||
"im.vector.modular.widgets": 100,
|
"im.vector.modular.widgets": 100,
|
||||||
"m.room.avatar": 100,
|
"m.room.avatar": 100,
|
||||||
"m.room.canonical_alias": 100,
|
"m.room.canonical_alias": 100,
|
||||||
@ -167,15 +167,15 @@ This is not the Element/Synapse default as that would be pointless to list.
|
|||||||
"m.room.topic": 100,
|
"m.room.topic": 100,
|
||||||
"m.space.child": 100,
|
"m.space.child": 100,
|
||||||
},
|
},
|
||||||
events_default: 0,
|
"events_default": 0,
|
||||||
historical: 100,
|
"historical": 100,
|
||||||
invite: 100,
|
"invite": 100,
|
||||||
kick: 50,
|
"kick": 50,
|
||||||
redact: 50,
|
"redact": 50,
|
||||||
state_default: 100,
|
"state_default": 100,
|
||||||
users: {
|
"users": {
|
||||||
// READ THE BEGINNING OF THE FILE FOR THIS SECTION AND PROPER FORMAT! OR SEE YOUR CURRENT EVENT!
|
// READ THE BEGINNING OF THE FILE FOR THIS SECTION AND PROPER FORMAT! OR SEE YOUR CURRENT EVENT!
|
||||||
},
|
},
|
||||||
users_default: 0,
|
"users_default": 0,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user