{"action":"created","issue":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/5897","labels_url":"https://api.github.com/repos/diaspora/diaspora/issues/5897/labels{/name}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/5897/comments","events_url":"https://api.github.com/repos/diaspora/diaspora/issues/5897/events","html_url":"https://github.com/diaspora/diaspora/issues/5897","id":71254332,"number":5897,"title":"Bugged \"is sharing\" indication on the profile page","user":{"login":"Flaburgan","id":930064,"avatar_url":"https://avatars.githubusercontent.com/u/930064?v=3","gravatar_id":"","url":"https://api.github.com/users/Flaburgan","html_url":"https://github.com/Flaburgan","followers_url":"https://api.github.com/users/Flaburgan/followers","following_url":"https://api.github.com/users/Flaburgan/following{/other_user}","gists_url":"https://api.github.com/users/Flaburgan/gists{/gist_id}","starred_url":"https://api.github.com/users/Flaburgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flaburgan/subscriptions","organizations_url":"https://api.github.com/users/Flaburgan/orgs","repos_url":"https://api.github.com/users/Flaburgan/repos","events_url":"https://api.github.com/users/Flaburgan/events{/privacy}","received_events_url":"https://api.github.com/users/Flaburgan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/diaspora/diaspora/labels/bug","name":"bug","color":"ff0000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-27T11:19:27Z","updated_at":"2015-04-27T19:56:40Z","closed_at":"2015-04-27T19:56:40Z","body":"**Step to reproduce:**\r\nCreate two accounts A and B, and make them share together\r\nGo to B profile being logged with A.\r\nB is shown as sharing with you.\r\nClick on the \"ignore\" action.\r\nB is now shown as not sharing.\r\nCancel the ignore action\r\nB is still shown as not sharing\r\nAdd B back to your aspect\r\nB is still shown as not sharing\r\nRefresh, do whatever you want...\r\n\r\nThis is because we test the sharing [that way](https://github.com/diaspora/diaspora/blob/develop/app/assets/javascripts/app/models/person.js#L15) in the JS, but [the presenter](https://github.com/diaspora/diaspora/blob/develop/app/presenters/person_presenter.rb#L49) immediately returns if the user is blocked.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12255964-bugged-is-sharing-indication-on-the-profile-page?utm_campaign=plugin&utm_content=tracker%2F522&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F522&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/comments/96796811","html_url":"https://github.com/diaspora/diaspora/issues/5897#issuecomment-96796811","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/5897","id":96796811,"user":{"login":"Flaburgan","id":930064,"avatar_url":"https://avatars.githubusercontent.com/u/930064?v=3","gravatar_id":"","url":"https://api.github.com/users/Flaburgan","html_url":"https://github.com/Flaburgan","followers_url":"https://api.github.com/users/Flaburgan/followers","following_url":"https://api.github.com/users/Flaburgan/following{/other_user}","gists_url":"https://api.github.com/users/Flaburgan/gists{/gist_id}","starred_url":"https://api.github.com/users/Flaburgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flaburgan/subscriptions","organizations_url":"https://api.github.com/users/Flaburgan/orgs","repos_url":"https://api.github.com/users/Flaburgan/repos","events_url":"https://api.github.com/users/Flaburgan/events{/privacy}","received_events_url":"https://api.github.com/users/Flaburgan/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T19:56:40Z","updated_at":"2015-04-27T19:56:40Z","body":"It is, closing and explaining there."}}