1
0
mirror of https://gitea.blesmrt.net/mikaela/gist.git synced 2024-12-25 12:22:44 +01:00
gist/matrix/m.policy.rule.user
2023-06-08 11:05:14 +03:00
..
README.md add matrix/m.policy.{server,user}/README.md 2023-06-08 11:05:14 +03:00

m.policy.rule.user

This event is the language of Draupnir/Mjolnir and experimental Mjolnir style ignore in Element Web labs when speaking of individual users.

TL;DR

  • Event type: m.policy.rule.server
  • State key: _username:example.net (The leading@ is replaced with an underscore _)

Banning an user

  • Event type: m.policy.rule.user
  • State key: _username:example.net
{
  "entity": "@username:example.net",
  "reason": "Example ban",
  "recommendation": "m.ban"
}