mirror of
https://gitlab.com/idotj/mastodon-embed-timeline.git
synced 2025-05-24 08:52:46 +00:00
Show in timeline unlisted toots
This commit is contained in:
parent
a45904e637
commit
57affe7a04
@ -80,7 +80,7 @@ MastodonApi.prototype.getToots = function () {
|
|||||||
// Add toots
|
// Add toots
|
||||||
for (let i in jsonData) {
|
for (let i in jsonData) {
|
||||||
// List only public toots
|
// List only public toots
|
||||||
if (jsonData[i].visibility == 'public') {
|
if (jsonData[i].visibility == 'public' || jsonData[i].visibility == 'unlisted') {
|
||||||
if (mapi.HIDE_REBLOG && jsonData[i].reblog || mapi.HIDE_REPLIES && jsonData[i].in_reply_to_id) {
|
if (mapi.HIDE_REBLOG && jsonData[i].reblog || mapi.HIDE_REPLIES && jsonData[i].in_reply_to_id) {
|
||||||
// Nothing here (Don't append boosts and/or replies toots)
|
// Nothing here (Don't append boosts and/or replies toots)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user