forked from mystiq/hydrogen-web
formatting
This commit is contained in:
parent
2b59c8bb7c
commit
2c5c3ac8e2
1 changed files with 5 additions and 1 deletions
|
@ -96,7 +96,11 @@ export class Decryption {
|
|||
// the one with the newest timestamp should be the attack
|
||||
const decryptedEventIsBad = decryption.timestamp < timestamp;
|
||||
const badEventId = decryptedEventIsBad ? eventId : decryption.eventId;
|
||||
throw new DecryptionError("MEGOLM_REPLAYED_INDEX", event, {badEventId, otherEventId: decryption.eventId});
|
||||
throw new DecryptionError("MEGOLM_REPLAYED_INDEX", event, {
|
||||
messageIndex,
|
||||
badEventId,
|
||||
otherEventId: decryption.eventId
|
||||
});
|
||||
}
|
||||
if (!decryption) {
|
||||
txn.groupSessionDecryptions.set({
|
||||
|
|
Loading…
Reference in a new issue