]> cat aescling's git repositories - mastodon.git/commit
Hide local-only pinned toots from public profiles
authorThibaut Girka <thib@sitedethib.com>
Sun, 31 May 2020 14:11:02 +0000 (16:11 +0200)
committerThibG <thib@sitedethib.com>
Sun, 31 May 2020 15:20:15 +0000 (17:20 +0200)
commit18f2c390748a112ac72bf9203f1513d295b13b3d
treebbbcb24bb54e24bd48667fc5a7eb55b653195731
parentddcd9fe9f0e85b1db12ae584749e680146611f9a
Hide local-only pinned toots from public profiles

Fixes #1336

This also fixes federating pinned toots when some of them are local-only.

Public profiles will not show public toots, whether you are logged in
or not (this is consistent with local-only toots that are not pinned).
app/controllers/accounts_controller.rb
app/controllers/activitypub/collections_controller.rb