{"action":"closed","issue":{"url":"https://api.github.com/repos/tootsuite/mastodon/issues/6454","repository_url":"https://api.github.com/repos/tootsuite/mastodon","labels_url":"https://api.github.com/repos/tootsuite/mastodon/issues/6454/labels{/name}","comments_url":"https://api.github.com/repos/tootsuite/mastodon/issues/6454/comments","events_url":"https://api.github.com/repos/tootsuite/mastodon/issues/6454/events","html_url":"https://github.com/tootsuite/mastodon/issues/6454","id":295837173,"number":6454,"title":"Suspended account seems unusual state of normal account","user":{"login":"unarist","id":705555,"avatar_url":"https://avatars2.githubusercontent.com/u/705555?v=4","gravatar_id":"","url":"https://api.github.com/users/unarist","html_url":"https://github.com/unarist","followers_url":"https://api.github.com/users/unarist/followers","following_url":"https://api.github.com/users/unarist/following{/other_user}","gists_url":"https://api.github.com/users/unarist/gists{/gist_id}","starred_url":"https://api.github.com/users/unarist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unarist/subscriptions","organizations_url":"https://api.github.com/users/unarist/orgs","repos_url":"https://api.github.com/users/unarist/repos","events_url":"https://api.github.com/users/unarist/events{/privacy}","received_events_url":"https://api.github.com/users/unarist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-09T11:18:38Z","updated_at":"2018-05-18T12:39:07Z","closed_at":"2018-05-18T12:39:06Z","author_association":"COLLABORATOR","body":"## Background\r\n\r\n1. Suspend someone or block by domain\r\n2. (forget about suspending them)\r\n3. Search their account URL\r\n\r\n![image](https://user-images.githubusercontent.com/705555/36024972-cb3e8536-0dd4-11e8-9916-398596ffdbe4.png)\r\n\r\nIt shows complete their profile except images, so I thought \"images are missing somehow, but account is fetched correctly\". Also, the follow button exists (though I got an 404 error by clicking it).\r\n\r\n4. Search their post URL\r\n\r\n![image](https://user-images.githubusercontent.com/705555/36024838-53e7049a-0dd4-11e8-9ae3-4026c36dea63.png)\r\n\r\nEh, 0 results? Am I wrong, or Mastodon's bug??\r\n\r\n## Suggestion\r\n\r\n* We shouldn't save any profile for suspended accounts, like we destroyed on suspension:\r\nhttps://github.com/tootsuite/mastodon/blob/2ef9d0e1011b586099d9f9992607b03d96c8a7f8/app/services/suspend_account_service.rb#L43-L50\r\n* How about saying \"This account/domain is suspended by admin\"? Then we can also hide follow button.\r\n* Bonus stage: Return an error if searched URL is not fetchable due to account suspension\r\n\r\n* * * *\r\n\r\n- [x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.\r\n- [x] This bug happens on a [tagged release](https://github.com/tootsuite/mastodon/releases) and not on `master` (If you're a user, don't worry about this).\r\n"}}
{"actor":{"display_login":"Gargron"}}