Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions proposals/4373-edu-types.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation requirements:

  • Server (setting value)
  • Server (reading value)

Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# MSC4373: Server opt-out of specific EDU types

Some servers may wish to not receive specific types of EDUs, such as presence, to
cut down on the amount of bandwidth used (as an example).

## Proposal

### `GET /_matrix/federation/v1/edutypes`

This endpoint dictates what types of EDUs the server wishes to receive.

The server should reply with a list of EDU types:

```json
{
"read_receipts": true,
"presence": true,
"typing": true
}
```

Other types of EDUs (signing key updates, device lists, to-device messaging)
are likely unsafe to opt-out of and thus must not be included.

This endpoint should not require authentication as nothing too sensitive is
revealed by having it as such.

## Potential issues

Older homeservers (or simply non-compliant ones) will still send unwanted EDUs,
although these can just be discarded.

## Alternatives

None.

## Security considerations

None.

## Unstable prefix

`/_matrix/federation/unstable/io.fsky.vel/edutypes`

## Dependencies

None.