diff --git a/src/gui/Pages/Chat/Timeline/EventList.qml b/src/gui/Pages/Chat/Timeline/EventList.qml index f1a0d3bf..4a47d53b 100644 --- a/src/gui/Pages/Chat/Timeline/EventList.qml +++ b/src/gui/Pages/Chat/Timeline/EventList.qml @@ -83,7 +83,8 @@ Rectangle { function findLastRemovableDelegate() { for (let i = 0; i < eventList.model.count && i <= 1000; i++) { const event = eventList.model.get(i) - if (eventList.canRedact(event)) return [event] + if (eventList.canRedact(event) && + event.sender_id === chat.userId) return [event] } return [] }