mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-12-28 21:52:45 +01:00
.. | ||
README.md |
m.policy.rule.server
This event is the language of Draupnir/Mjolnir and experimental Mjolnir style ignore in Element Web labs when speaking of homeservers.
TL;DR
- Event type:
m.policy.rule.server
- State key:
example.net
(server name goes here)
Allowing all servers
- Event type:
m.policy.rule.server
- State key:
*
{
"entity": "*",
"reason": "Default ACL allow all",
"recommendation": "org.matrix.mjolnir.allow"
}
Allowing server mjolnir.matrix.org
- Event type:
m.policy.rule.server
- State key:
mjolnir.matrix.org
{
"entity": "mjolnir.matrix.org",
"reason": "Mjolnir for all!",
"recommendation": "org.matrix.mjolnir.allow"
}
Banning evil example.org
Well, the example organization domain is now evil 😼
- Event type:
m.policy.rule.server
- State key:
example.org
{
"entity": "*",
"reason": "Evil example homeserver",
"recommendation": "m.ban"
}