Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle events of type "m.room.server_acl" #890

Closed
bmarty opened this issue Jan 23, 2020 · 1 comment
Closed

Handle events of type "m.room.server_acl" #890

bmarty opened this issue Jan 23, 2020 · 1 comment

Comments

@bmarty
Copy link
Member

bmarty commented Jan 23, 2020

As does Riot-Web in element-hq/element-web#6987:

image

For https://matrix.to/#/!AZozoWghOYSIAfaZjJ:matrix.org/$LroHPrTSjPIPOv3QUJEQ8MRlUvtb89ppf0G9qvCBH2k?via=matrix.org&via=privacytools.io&via=chat.weho.st

Source of the events:

{
  "content": {
    "allow": [
      "*"
    ],
    "allow_ip_literals": false,
    "deny": [
      "calamari.space",
      "riot.firechicken.net",
      "*.200acres.org",
      "*.glowers.club",
      "*.gossip.love",
      "*.matrix.kiwifarms.net",
      "*.nerdsin.space",
      "*.ordoevangelistarum.com",
      "*.zemos.net",
      "200acres.org",
      "ardaxi.com",
      "c-24-11-108-182.hsd1.ut.comcast.net",
      "glowers.club",
      "gossip.love",
      "matrix.kiwifarms.net",
      "nerdsin.space",
      "ordoevangelistarum.com",
      "zemos.net"
    ]
  },
  "origin_server_ts": 1579734353825,
  "sender": "@abuse:matrix.org",
  "state_key": "",
  "type": "m.room.server_acl",
  "unsigned": {
    "replaces_state": "$f4XdS3RUkHlHZlSJqsv0FyRGZnYJTJRZa40t49aEiNc",
    "prev_content": {
      "allow": [
        "*"
      ],
      "allow_ip_literals": false,
      "deny": [
        "calamari.space",
        "*.200acres.org",
        "*.glowers.club",
        "*.gossip.love",
        "*.matrix.kiwifarms.net",
        "*.nerdsin.space",
        "*.ordoevangelistarum.com",
        "*.zemos.net",
        "200acres.org",
        "ardaxi.com",
        "c-24-11-108-182.hsd1.ut.comcast.net",
        "glowers.club",
        "gossip.love",
        "matrix.kiwifarms.net",
        "nerdsin.space",
        "ordoevangelistarum.com",
        "zemos.net"
      ]
    },
    "prev_sender": "@abuse:matrix.org",
    "age": 35326821
  },
  "event_id": "$LroHPrTSjPIPOv3QUJEQ8MRlUvtb89ppf0G9qvCBH2k",
  "room_id": "!AZozoWghOYSIAfaZjJ:matrix.org"
}
{
  "content": {
    "allow": [
      "*"
    ],
    "allow_ip_literals": false,
    "deny": [
      "calamari.space",
      "*.200acres.org",
      "*.glowers.club",
      "*.gossip.love",
      "*.matrix.kiwifarms.net",
      "*.nerdsin.space",
      "*.ordoevangelistarum.com",
      "*.zemos.net",
      "200acres.org",
      "ardaxi.com",
      "c-24-11-108-182.hsd1.ut.comcast.net",
      "glowers.club",
      "gossip.love",
      "matrix.kiwifarms.net",
      "nerdsin.space",
      "ordoevangelistarum.com",
      "zemos.net"
    ]
  },
  "origin_server_ts": 1579737103662,
  "sender": "@abuse:matrix.org",
  "state_key": "",
  "type": "m.room.server_acl",
  "unsigned": {
    "replaces_state": "$LroHPrTSjPIPOv3QUJEQ8MRlUvtb89ppf0G9qvCBH2k",
    "prev_content": {
      "allow": [
        "*"
      ],
      "allow_ip_literals": false,
      "deny": [
        "calamari.space",
        "riot.firechicken.net",
        "*.200acres.org",
        "*.glowers.club",
        "*.gossip.love",
        "*.matrix.kiwifarms.net",
        "*.nerdsin.space",
        "*.ordoevangelistarum.com",
        "*.zemos.net",
        "200acres.org",
        "ardaxi.com",
        "c-24-11-108-182.hsd1.ut.comcast.net",
        "glowers.club",
        "gossip.love",
        "matrix.kiwifarms.net",
        "nerdsin.space",
        "ordoevangelistarum.com",
        "zemos.net"
      ]
    },
    "prev_sender": "@abuse:matrix.org",
    "age": 32576984
  },
  "event_id": "$L00p9dPvyDYNUtFrGkhYI0_7z_1JUCW-NhY3n38O8Bw",
  "room_id": "!AZozoWghOYSIAfaZjJ:matrix.org"
}
@bmarty
Copy link
Member Author

bmarty commented Nov 13, 2020

This is we get now, in developer mode (commit has been push on develop by mistake, so no PR, sorry)

image

In normal mode, we just have the mention of set or update (iso Element Web)

@bmarty bmarty closed this as completed Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant