mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web/timeline: don't show replied-to message if message is redacted (#548)
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
parent
42a8933112
commit
0dda980b4a
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ const TimelineEvent = ({ evt, prevEvt, disableMenu }: TimelineEventProps) => {
|
||||||
<span className="event-time" title={editTime ? `${fullTime} - ${editTime}` : fullTime}>{shortTime}</span>
|
<span className="event-time" title={editTime ? `${fullTime} - ${editTime}` : fullTime}>{shortTime}</span>
|
||||||
</div>}
|
</div>}
|
||||||
<div className="event-content">
|
<div className="event-content">
|
||||||
{isEventID(replyTo) && BodyType !== HiddenEvent ? <ReplyIDBody
|
{isEventID(replyTo) && BodyType !== HiddenEvent && !evt.redacted_by ? <ReplyIDBody
|
||||||
room={roomCtx.store}
|
room={roomCtx.store}
|
||||||
eventID={replyTo}
|
eventID={replyTo}
|
||||||
isThread={relatesTo?.rel_type === "m.thread"}
|
isThread={relatesTo?.rel_type === "m.thread"}
|
||||||
|
|
Loading…
Add table
Reference in a new issue