Redaction local echo for our other accounts

This commit is contained in:
miruka
2020-04-03 06:50:24 -04:00
parent 5cb013838b
commit 0e04eafebd
5 changed files with 34 additions and 27 deletions

View File

@@ -229,9 +229,7 @@ HColumnLayout {
properties: ({
preferUserId: chat.userId,
roomId: chat.roomId,
eventSenderAndIds:
events.map(ev => [ev.sender_id, ev.event_id]),
eventSenderAndIds: events.map(ev => [ev.sender_id, ev.id]),
onlyOwnMessageWarning:
! chat.roomInfo.can_redact_all &&

View File

@@ -61,7 +61,7 @@ Rectangle {
eventSenderAndIds:
(events || findLastRemovableDelegate()).map(
ev => [ev.sender_id, ev.event_id],
ev => [ev.sender_id, ev.id],
),
isLast: ! events,