{"action":"created","issue":{"url":"https://api.github.com/repos/friendica/friendica/issues/2792","repository_url":"https://api.github.com/repos/friendica/friendica","labels_url":"https://api.github.com/repos/friendica/friendica/issues/2792/labels{/name}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/2792/comments","events_url":"https://api.github.com/repos/friendica/friendica/issues/2792/events","html_url":"https://github.com/friendica/friendica/issues/2792","id":178941401,"number":2792,"title":"Switch the \"Like\" link to \"Unlike\" on like","user":{"login":"Hypolite","id":925415,"avatar_url":"https://avatars.githubusercontent.com/u/925415?v=3","gravatar_id":"","url":"https://api.github.com/users/Hypolite","html_url":"https://github.com/Hypolite","followers_url":"https://api.github.com/users/Hypolite/followers","following_url":"https://api.github.com/users/Hypolite/following{/other_user}","gists_url":"https://api.github.com/users/Hypolite/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypolite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypolite/subscriptions","organizations_url":"https://api.github.com/users/Hypolite/orgs","repos_url":"https://api.github.com/users/Hypolite/repos","events_url":"https://api.github.com/users/Hypolite/events{/privacy}","received_events_url":"https://api.github.com/users/Hypolite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-23T18:19:35Z","updated_at":"2016-09-24T17:19:55Z","closed_at":null,"body":"When one clicks on the \"Like\" link on any publication, it should turn to \"Unlike\" immediately to acknowledge the action. If the action isn't successful, it should of course revert back to \"Like\".\r\n\r\nWhen a post have been already liked, the \"Like\" link should already be changed to \"Unlike\". In that case, clicking on the \"Unlike\" link should immediately turn it to \"Like\" to acknowledge the action.\r\n\r\nI'll look into the code hopefully this week-end to see if I can make the change myself. Not sure if it is a theme-specific change?\r\n\r\n![screen shot 2016-09-23 at 2 18 28 pm](https://cloud.githubusercontent.com/assets/925415/18796740/a490e254-8198-11e6-9db7-785c2f1e21ba.png)\r\nSince I've already liked this post, the \"like\" link should read \"unlinke\" instead."},"comment":{"url":"https://api.github.com/repos/friendica/friendica/issues/comments/249376439","html_url":"https://github.com/friendica/friendica/issues/2792#issuecomment-249376439","issue_url":"https://api.github.com/repos/friendica/friendica/issues/2792","id":249376439,"user":{"login":"Hypolite","id":925415,"avatar_url":"https://avatars.githubusercontent.com/u/925415?v=3","gravatar_id":"","url":"https://api.github.com/users/Hypolite","html_url":"https://github.com/Hypolite","followers_url":"https://api.github.com/users/Hypolite/followers","following_url":"https://api.github.com/users/Hypolite/following{/other_user}","gists_url":"https://api.github.com/users/Hypolite/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypolite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypolite/subscriptions","organizations_url":"https://api.github.com/users/Hypolite/orgs","repos_url":"https://api.github.com/users/Hypolite/repos","events_url":"https://api.github.com/users/Hypolite/events{/privacy}","received_events_url":"https://api.github.com/users/Hypolite/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T17:19:55Z","updated_at":"2016-09-24T17:19:55Z","body":"After a while navigating the code, it turns out the solution was pretty simple and doesn't add any DB query like I feared. Sweet!\r\n\r\nThe PR only updates the frio theme code but it could easily be ported to other themes."}}
{"actor":{"display_login":"Hypolite"}}