EventIndex: Use a warning when redactions don't have an event id.

Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
poljar 2020-05-26 21:48:10 +02:00 committed by GitHub
parent 58f0814530
commit 6c10cbc903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -512,8 +512,7 @@ export default class EventIndex extends EventEmitter {
if (eventId) {
await indexManager.deleteEvent(eventId);
} else {
console.log("EventIndex: Redaction event doesn't contain a",
"valid associated event id", ev);
console.warn("EventIndex: Redaction event doesn't contain a valid associated event id", ev);
}
}