{"action":"created","issue":{"url":"https://api.github.com/repos/OJ/aescrypt/issues/6","labels_url":"https://api.github.com/repos/OJ/aescrypt/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/OJ/aescrypt/issues/6/comments","events_url":"https://api.github.com/repos/OJ/aescrypt/issues/6/events","html_url":"https://github.com/OJ/aescrypt/pull/6","id":56915698,"number":6,"title":"HexChat plugin","user":{"login":"Lockyc","id":1438799,"avatar_url":"https://avatars.githubusercontent.com/u/1438799?v=3","gravatar_id":"","url":"https://api.github.com/users/Lockyc","html_url":"https://github.com/Lockyc","followers_url":"https://api.github.com/users/Lockyc/followers","following_url":"https://api.github.com/users/Lockyc/following{/other_user}","gists_url":"https://api.github.com/users/Lockyc/gists{/gist_id}","starred_url":"https://api.github.com/users/Lockyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lockyc/subscriptions","organizations_url":"https://api.github.com/users/Lockyc/orgs","repos_url":"https://api.github.com/users/Lockyc/repos","events_url":"https://api.github.com/users/Lockyc/events{/privacy}","received_events_url":"https://api.github.com/users/Lockyc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-07T16:02:06Z","updated_at":"2015-02-08T01:56:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OJ/aescrypt/pulls/6","html_url":"https://github.com/OJ/aescrypt/pull/6","diff_url":"https://github.com/OJ/aescrypt/pull/6.diff","patch_url":"https://github.com/OJ/aescrypt/pull/6.patch"},"body":"Hey OJ,\r\n\r\nI was speaking with Justin, he mentioned you had this plugin and that some people might want a hexchat version (Justin and I will end up using it).\r\nSo I ported it, I basically tried to only touch ui_* functions and substite the irssi api with hexchat. I did notice one bug that i can currently still remember (msg_received doesnt check if aescrypt is active) i fixed it in the hexchat port.\r\n\r\nI had to add Try::Tiny to error check the json decoding as it was intermittently crashing hexchat. I probably could have added a few things and rearranged things, but i figured it would be best not to for this pull.\r\n\r\nIf you accept the pull, a good idea might be to move the crypto functions to a reference file. But I haven't looked into the feasibility of this."},"comment":{"url":"https://api.github.com/repos/OJ/aescrypt/issues/comments/73392901","html_url":"https://github.com/OJ/aescrypt/pull/6#issuecomment-73392901","issue_url":"https://api.github.com/repos/OJ/aescrypt/issues/6","id":73392901,"user":{"login":"Lockyc","id":1438799,"avatar_url":"https://avatars.githubusercontent.com/u/1438799?v=3","gravatar_id":"","url":"https://api.github.com/users/Lockyc","html_url":"https://github.com/Lockyc","followers_url":"https://api.github.com/users/Lockyc/followers","following_url":"https://api.github.com/users/Lockyc/following{/other_user}","gists_url":"https://api.github.com/users/Lockyc/gists{/gist_id}","starred_url":"https://api.github.com/users/Lockyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lockyc/subscriptions","organizations_url":"https://api.github.com/users/Lockyc/orgs","repos_url":"https://api.github.com/users/Lockyc/repos","events_url":"https://api.github.com/users/Lockyc/events{/privacy}","received_events_url":"https://api.github.com/users/Lockyc/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T01:56:05Z","updated_at":"2015-02-08T01:56:05Z","body":"Yeah its pretty similar, I just grabbed your existing code and changed the irssi refferences to hexchat refferences. I have done some testing myself with a irssi client and a hexchat client. As far as i can tell it all seems to be working, but i suppose its not extensive testing as i wasnt trying to change any of the core functionality."}}