quote_muted param

This commit is contained in:
cutls 2020-06-13 01:46:26 +09:00
parent d2aaf2c2cf
commit df04ebca4c
3 changed files with 10 additions and 1 deletions

View File

@ -950,6 +950,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
if (!quoteUser) { if (!quoteUser) {
quoteUser = toot.quote.account.acct quoteUser = toot.quote.account.acct
} }
if(toot.quote_muted) {
poll = poll =
poll + poll +
`<div class="quote-renote"> `<div class="quote-renote">
@ -974,6 +975,12 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
</a> </a>
</div> </div>
</div>` </div>`
} else {
poll =
poll +
`<span class="gray sml">${lang.lang_parse_hidden}</span>`
}
} }
//menuは何個 //menuは何個
var menuct = 2 var menuct = 2

View File

@ -221,6 +221,7 @@
"lang_parse_nsfw": "sensitive media", "lang_parse_nsfw": "sensitive media",
"lang_parse_html": "Show embed HTML", "lang_parse_html": "Show embed HTML",
"lang_parse_notffilter": "Show this user's notifications", "lang_parse_notffilter": "Show this user's notifications",
"lang_parse_hidden": "Unvisible quoted toot",
"lang_misskeyparse_renote": "Repost", "lang_misskeyparse_renote": "Repost",
"lang_misskeyparse_renoteqt": "Renote", "lang_misskeyparse_renoteqt": "Renote",
"lang_misskeyparse_reaction": "Reaction", "lang_misskeyparse_reaction": "Reaction",

View File

@ -221,6 +221,7 @@
"lang_parse_unknown": "添付ファイル", "lang_parse_unknown": "添付ファイル",
"lang_parse_nsfw": "閲覧注意", "lang_parse_nsfw": "閲覧注意",
"lang_parse_html": "埋め込みを表示", "lang_parse_html": "埋め込みを表示",
"lang_parse_hidden": "ミュートされた引用トゥート",
"lang_parse_notffilter": "このユーザーの通知のみを表示", "lang_parse_notffilter": "このユーザーの通知のみを表示",
"lang_misskeyparse_renote": "再投稿", "lang_misskeyparse_renote": "再投稿",
"lang_misskeyparse_renoteqt": "引用", "lang_misskeyparse_renoteqt": "引用",