You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42: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:
@@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user