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:
parent
58f0814530
commit
6c10cbc903
1 changed files with 1 additions and 2 deletions
|
@ -512,8 +512,7 @@ export default class EventIndex extends EventEmitter {
|
||||||
if (eventId) {
|
if (eventId) {
|
||||||
await indexManager.deleteEvent(eventId);
|
await indexManager.deleteEvent(eventId);
|
||||||
} else {
|
} else {
|
||||||
console.log("EventIndex: Redaction event doesn't contain a",
|
console.warn("EventIndex: Redaction event doesn't contain a valid associated event id", ev);
|
||||||
"valid associated event id", ev);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue