fix: hide the content of muted users' notes in the parent note preview
This commit is contained in:
parent
2f9be97178
commit
ecd7e6d7db
4 changed files with 27 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ export default function ParentNotePreview({
|
|||
<div className="shrink-0">{t('reply to')}</div>
|
||||
{event && <UserAvatar className="shrink-0" userId={event.pubkey} size="tiny" />}
|
||||
{isMuted ? (
|
||||
<div className="truncate">{t('[muted]')}</div>
|
||||
<div className="truncate">[{t('This user has been muted')}]</div>
|
||||
) : (
|
||||
<ContentPreview className="truncate" event={event} />
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue