forked from mystiq/hydrogen-web
m.dummy events don't have content
This commit is contained in:
parent
9a7abb1899
commit
10b5614fd9
1 changed files with 0 additions and 3 deletions
|
@ -188,9 +188,6 @@ export class Decryption {
|
|||
if (!payload.type) {
|
||||
throw new DecryptionError("missing type on payload", event, {payload});
|
||||
}
|
||||
if (!payload.content) {
|
||||
throw new DecryptionError("missing content on payload", event, {payload});
|
||||
}
|
||||
if (typeof payload.keys?.ed25519 !== "string") {
|
||||
throw new DecryptionError("Missing or invalid claimed ed25519 key on payload", event, {payload});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue