mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
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
@ -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 New Issue
Block a user