Skip to main content
Matrix Event Explainer
BETA This service is in beta. Results may be wrong or incomplete.

Explain an event

Paste a Matrix event, or a request between servers, and see which checks it passes, and why.

Checking… Clear
Signing keys

This EDU has the expected shape

An EDU carries no hash or signature, so nothing in it can be verified on its own.

  • Payload
  • Origin
  • Room graph
  • Hashes and signatures
  • Not covered by hashes
  • Other

Checks run on this server. What you paste is processed to answer your request and is not stored or written to logs. Only when you choose to fetch keys does this server contact the servers that signed the event, which then learn that their keys were asked for, not what you pasted. Keys you paste take precedence. Authorisation rules and state resolution are not checked.

This EDU has the expected shape

View
FieldValueMeaning
contentPayload
{ "room_id": "!example:example.org", "typing": true, "user_id": "@alice:example.org" }
The payload. What belongs here depends on the type. Learn more
edu_typePayload
m.typing
The kind of ephemeral message. Learn more
{"content":{"room_id":"!example:example.org","typing":true,"user_id":"@alice:example.org"},"edu_type":"m.typing"}

Checks

Passed Input format

This is an EDU, a short-lived message between servers.

What this checks: Servers exchange events as PDUs, which carry hashes, signatures and links to earlier events. Clients are given a shorter form without them. Short-lived messages such as typing notices travel as EDUs instead.

Passed EDU type

A user started or stopped typing in a room. The user must belong to the sending server and be in the room.

What this checks: EDUs pass on things that need no place in the room history, such as typing. "edu_type" says which kind this is.

Passed Fields

All required fields are present with the right type.

What this checks: Whether the fields this type of EDU needs are there, each with the right type of value.

Passed Rules for this type

The values fit the rules for "m.typing".

What this checks: Whether the values make sense for this type of EDU: well formed IDs, users that one server may speak for, and values that agree with each other.

Note Rules for this type

Only "example.org" may send this, because it speaks about a user whose ID ends in "example.org", and a server has authority only over its own users. The EDU itself is not signed, so the receiving server compares that name with the server that signed the request delivering it. If they differ, someone is speaking for another server's user and the EDU should be ignored.

Note Authenticity

Nothing in an EDU shows who sent it. The receiving server relies on the signature of the request that delivered it (X-Matrix authorisation), which is not part of what you pasted.

What this checks: How the receiving server knows where a message came from.