Skip to content

redacted e2e message says "Unable to decrypt: Unknown encryption algorithm "undefined"." #3744

@uhoreg

Description

@uhoreg

From the #megolm room:
screenshot - 260417 - 01 28 00 pm

It should just not try to decrypt the message if it has been redacted.

FWIW, view source on that message says:

{
  "origin_server_ts": 1493156450619,
  "sender": "@aaron:raim.ist",
  "event_id": "$14931564505asBdk:raim.ist",
  "age": 71191306,
  "unsigned": {
    "age": 71191306,
    "redacted_by": "$14931577096KrKPI:raim.ist",
    "redacted_because": {
      "origin_server_ts": 1493157709838,
      "sender": "@aaron:raim.ist",
      "event_id": "$14931577096KrKPI:raim.ist",
      "age": 69932087,
      "unsigned": {
        "age": 69932087
      },
      "content": {},
      "redacts": "$14931564505asBdk:raim.ist",
      "room_id": "!UCnwUWwIKhcpaPTHtR:sw1v.org",
      "user_id": "@aaron:raim.ist",
      "type": "m.room.redaction"
    }
  },
  "content": {},
  "room_id": "!UCnwUWwIKhcpaPTHtR:sw1v.org",
  "user_id": "@aaron:raim.ist",
  "type": "m.room.encrypted",
  "redacted_because": {
    "origin_server_ts": 1493157709838,
    "sender": "@aaron:raim.ist",
    "event_id": "$14931577096KrKPI:raim.ist",
    "age": 69932087,
    "unsigned": {
      "age": 69932087
    },
    "content": {},
    "redacts": "$14931564505asBdk:raim.ist",
    "room_id": "!UCnwUWwIKhcpaPTHtR:sw1v.org",
    "user_id": "@aaron:raim.ist",
    "type": "m.room.redaction"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-E2EEP1S-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions