mirror of
https://github.com/nicolabs/mastodon-timeline-widget.git
synced 2026-05-21 11:56:48 +02:00
add limit to display only public toots
This commit is contained in:
parent
c5275edeb7
commit
5b4d85c8d2
|
|
@ -72,7 +72,10 @@ MastodonApi.prototype.listStatuses = function() {
|
|||
setHeaderUserLink.call(mapi, account);
|
||||
setFooterLink.call(mapi, account);
|
||||
}
|
||||
appendStatus.call(mapi, data_[i]);
|
||||
if(data_[i].visibility=='public') {
|
||||
// list only public toots
|
||||
appendStatus.call(mapi, data_[i]);
|
||||
}
|
||||
}
|
||||
|
||||
// fix content link target
|
||||
|
|
|
|||
Loading…
Reference in a new issue