matrix-org / matrix-org/matrix-rust-sdk

Rescinded 3pid invites show as errors

Open
#6,693 1 comment 0 reactions 1 assignee View on GitHub

@poljar is already working on this.

Since Jul 7, 2026.

A-Timeline X-Needs-Rust
Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

Original report in https://github.com/element-hq/element-x-ios/issues/5795

### Steps to reproduce

* Alice sends a 3pid invite to charlie@example.com via EW
* Bob revokes the invite in EW
* Bob sees the following in EX:

Image

### Outcome

#### What did you expect?

No choking on rescinded 3PIDs

#### What happened instead?

It choked on this:

```json
{
"unsigned": {
"replaces_state": "$66JyLdjku41oL48JN1eUM-WfZIgAWeCIisWCNeeo7vY",
"prev_content": {
"display_name": "c...@u...",
"key_validity_url": "https://vector.im/_matrix/identity/v2/pubkey/isvalid",
"public_key": "ta8IQ0u1sp44HVpxYi7dFOdS/bfwDjcy4xLFlfY5KOA",
"public_keys": [
{
"key_validity_url": "https://vector.im/_matrix/identity/api/v1/pubkey/isvalid",
"public_key": "ta8IQ0u1sp44HVpxYi7dFOdS/bfwDjcy4xLFlfY5KOA"
},
{
"key_validity_url": "https://vector.im/_matrix/identity/api/v1/pubkey/ephemeral/isvalid",
"public_key": "MdzMaOKonWpBri_6V8_ZymM6l7qhhc1MuhvgF6F43ms"
}
]
},
"prev_sender": "@raherne:matrix.org",
"age": 742,
"membership": "join"
},
"content": {},
"origin_server_ts": 1782410538742,
"sender": "@matthew:matrix.org",
"state_key": "qzKknoYicpbkGBckNvNqfboCQhCOXHGzUEztJGcKwRneghxNsamUvgHuNkdRsILELNybekRrnoQGWONQxOsEcadXtozixbHcBixfpiYSVerolNEVWIHsENxDlyNPmcST",
"type": "m.room.third_party_invite",
"event_id": "$kUdQvLsBiKYEiUDs_noXUk6w6419U1EXx-aNL44uExg",
"room_id": "!somewhere:matrix.org"
}
```

### Your phone model

macOS

### Operating system version

_No response_

### Application version

1252

### Homeserver

matrix.org

### Will you send logs?

No

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.