1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03: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:
poljar
2020-05-26 21:48:10 +02:00
committed by GitHub
parent 58f0814530
commit 6c10cbc903

View File

@@ -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);
} }
} }