1
0
mirror of https://gitea.blesmrt.net/mikaela/gist.git synced 2024-12-28 13:42:46 +01:00
gist/matrix/account-data/im.nheko.event_expiry
2024-02-25 11:50:07 +02:00
..
README.md matrix/account-data/im.nheko.event_expiry/README.md: add lines around doctoc 2024-02-25 11:50:07 +02:00

im.nheko.event_expiry



Disable

  • Expire events after 0 days
  • Only keep latest 0 events
  • Always keep latest 0 events
{
  "exclude_state_events": true
}

28 days

Also known as 4 weeks.

{
  "exclude_state_events": true,
  "expire_after_ms": 2419200000
}

Example with keep only x messages & always keep

  • Expire events after 28 days
  • Only keep latest 5 events
  • Always keep latest 1 events
{
  "exclude_state_events": true,
  "expire_after_ms": 2419200000,
  "keep_only_latest": 5,
  "protect_latest": 1
}

31 days

{
  "exclude_state_events": true,
  "expire_after_ms": 2678400000
}

365 days

{
  "exclude_state_events": true,
  "expire_after_ms": 31536000000
}