kopia lustrzana https://github.com/cheeaun/phanpy
rodzic
68bb3f21dc
commit
db0ff83927
|
@ -3578,6 +3578,7 @@ function StatusCompact({ sKey }) {
|
|||
if (!status) return null;
|
||||
|
||||
const {
|
||||
account: { id: accountId },
|
||||
sensitive,
|
||||
spoilerText,
|
||||
account: { avatar, avatarStatic, bot } = {},
|
||||
|
@ -3592,8 +3593,15 @@ function StatusCompact({ sKey }) {
|
|||
const srKey = statusKey(id, instance);
|
||||
const statusPeekText = statusPeek(status);
|
||||
|
||||
const currentAccount = getCurrentAccID();
|
||||
const isSelf = currentAccount && currentAccount === accountId;
|
||||
|
||||
const filterContext = useContext(FilterContext);
|
||||
const filterInfo = isFiltered(filtered, filterContext);
|
||||
let filterInfo = !isSelf && isFiltered(filtered, filterContext);
|
||||
|
||||
// This is fine. Images are converted to emojis so they are
|
||||
// in a way, already "obscured"
|
||||
if (filterInfo?.action === 'blur') filterInfo = null;
|
||||
|
||||
if (filterInfo?.action === 'hide') return null;
|
||||
|
||||
|
|
|
@ -968,7 +968,7 @@ function TimelineStatusCompact({ status, instance, filterContext }) {
|
|||
lang={language}
|
||||
dir="auto"
|
||||
>
|
||||
{!!filterInfo ? (
|
||||
{!!filterInfo && filterInfo?.action !== 'blur' ? (
|
||||
<b
|
||||
class="status-filtered-badge badge-meta horizontal"
|
||||
title={filterInfo?.titlesStr || ''}
|
||||
|
|
|
@ -439,7 +439,7 @@ msgstr ""
|
|||
#: src/components/shortcuts-settings.jsx:783
|
||||
#: src/components/status.jsx:3049
|
||||
#: src/components/status.jsx:3289
|
||||
#: src/components/status.jsx:3790
|
||||
#: src/components/status.jsx:3798
|
||||
#: src/pages/accounts.jsx:37
|
||||
#: src/pages/catchup.jsx:1578
|
||||
#: src/pages/filters.jsx:225
|
||||
|
@ -1305,9 +1305,9 @@ msgid "Filtered: {filterTitleStr}"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/media-post.jsx:134
|
||||
#: src/components/status.jsx:3620
|
||||
#: src/components/status.jsx:3716
|
||||
#: src/components/status.jsx:3794
|
||||
#: src/components/status.jsx:3628
|
||||
#: src/components/status.jsx:3724
|
||||
#: src/components/status.jsx:3802
|
||||
#: src/components/timeline.jsx:982
|
||||
#: src/pages/catchup.jsx:76
|
||||
#: src/pages/catchup.jsx:1876
|
||||
|
@ -2453,7 +2453,7 @@ msgid "Note: This preview is lightly styled."
|
|||
msgstr ""
|
||||
|
||||
#. [Name] [Visibility icon] boosted
|
||||
#: src/components/status.jsx:3724
|
||||
#: src/components/status.jsx:3732
|
||||
msgid "<0/> <1/> boosted"
|
||||
msgstr ""
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue