{"action":"created","issue":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/7892","repository_url":"https://api.github.com/repos/diaspora/diaspora","labels_url":"https://api.github.com/repos/diaspora/diaspora/issues/7892/labels{/name}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/7892/comments","events_url":"https://api.github.com/repos/diaspora/diaspora/issues/7892/events","html_url":"https://github.com/diaspora/diaspora/issues/7892","id":369932023,"node_id":"MDU6SXNzdWUzNjk5MzIwMjM=","number":7892,"title":"Desktop ignore button toggling shows wrong state","user":{"login":"HankG","id":1683691,"node_id":"MDQ6VXNlcjE2ODM2OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1683691?v=4","gravatar_id":"","url":"https://api.github.com/users/HankG","html_url":"https://github.com/HankG","followers_url":"https://api.github.com/users/HankG/followers","following_url":"https://api.github.com/users/HankG/following{/other_user}","gists_url":"https://api.github.com/users/HankG/gists{/gist_id}","starred_url":"https://api.github.com/users/HankG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HankG/subscriptions","organizations_url":"https://api.github.com/users/HankG/orgs","repos_url":"https://api.github.com/users/HankG/repos","events_url":"https://api.github.com/users/HankG/events{/privacy}","received_events_url":"https://api.github.com/users/HankG/received_events","type":"User","site_admin":false},"labels":[{"id":48455,"node_id":"MDU6TGFiZWw0ODQ1NQ==","url":"https://api.github.com/repos/diaspora/diaspora/labels/bug","name":"bug","color":"ff0000","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-14T18:54:22Z","updated_at":"2018-10-15T12:31:12Z","closed_at":null,"author_association":"NONE","body":"I ran across this bug while testing a feature.  On the desktop app toggling between ignoring a user and not does not preserve the correct state.  When a user ignores/blocks another one any aspects they are in are removed.  If I immediately undo the block without refreshing however it shows the original aspects the user was in.  On refresh it shows the correct state.  For example:\r\n\r\n1. Before ignoring: \r\n![image](https://user-images.githubusercontent.com/1683691/46920737-ac870380-cfc0-11e8-9d3c-18fed25584ba.png)\r\n\r\n2. After ignoring: \r\n![image](https://user-images.githubusercontent.com/1683691/46920739-be68a680-cfc0-11e8-98c0-9b97effba7a3.png)\r\n\r\n3. After reverting the ignore but before refreshing: \r\n![image](https://user-images.githubusercontent.com/1683691/46920746-ce808600-cfc0-11e8-89cb-4759ef6033b9.png)\r\n\r\n4. After refresh: \r\n![image](https://user-images.githubusercontent.com/1683691/46920752-dc360b80-cfc0-11e8-868b-22a86eece8a1.png)\r\n\r\nI'm pretty sure I know how I'd change this to make it consistent, basically a change trigger is probably not being picked up along the way and causing the service populating the drop down to refresh correctly.   I'm not actively working but if someone would like to add this to the #hacktoberfest this could be an interesting low hanging bug to pick up.\r\n\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/64728236-desktop-ignore-button-toggling-shows-wrong-state?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/429834820","html_url":"https://github.com/diaspora/diaspora/issues/7892#issuecomment-429834820","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/7892","id":429834820,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTgzNDgyMA==","user":{"login":"Flaburgan","id":930064,"node_id":"MDQ6VXNlcjkzMDA2NA==","avatar_url":"https://avatars1.githubusercontent.com/u/930064?v=4","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":"2018-10-15T12:31:12Z","updated_at":"2018-10-15T12:31:12Z","author_association":"MEMBER","body":"I tag this as a bug but with low priority imo."}}
{"actor":{"display_login":"Flaburgan"}}