{"action":"closed","issue":{"url":"https://api.github.com/repos/AlexsJones/whisper/issues/30","labels_url":"https://api.github.com/repos/AlexsJones/whisper/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/AlexsJones/whisper/issues/30/comments","events_url":"https://api.github.com/repos/AlexsJones/whisper/issues/30/events","html_url":"https://github.com/AlexsJones/whisper/issues/30","id":60248247,"number":30,"title":"GUI-Session interface","user":{"login":"AlexsJones","id":1235925,"avatar_url":"https://avatars.githubusercontent.com/u/1235925?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexsJones","html_url":"https://github.com/AlexsJones","followers_url":"https://api.github.com/users/AlexsJones/followers","following_url":"https://api.github.com/users/AlexsJones/following{/other_user}","gists_url":"https://api.github.com/users/AlexsJones/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexsJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexsJones/subscriptions","organizations_url":"https://api.github.com/users/AlexsJones/orgs","repos_url":"https://api.github.com/users/AlexsJones/repos","events_url":"https://api.github.com/users/AlexsJones/events{/privacy}","received_events_url":"https://api.github.com/users/AlexsJones/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"draganglumac","id":733788,"avatar_url":"https://avatars.githubusercontent.com/u/733788?v=3","gravatar_id":"","url":"https://api.github.com/users/draganglumac","html_url":"https://github.com/draganglumac","followers_url":"https://api.github.com/users/draganglumac/followers","following_url":"https://api.github.com/users/draganglumac/following{/other_user}","gists_url":"https://api.github.com/users/draganglumac/gists{/gist_id}","starred_url":"https://api.github.com/users/draganglumac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draganglumac/subscriptions","organizations_url":"https://api.github.com/users/draganglumac/orgs","repos_url":"https://api.github.com/users/draganglumac/repos","events_url":"https://api.github.com/users/draganglumac/events{/privacy}","received_events_url":"https://api.github.com/users/draganglumac/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-08T09:02:11Z","updated_at":"2015-03-08T19:15:35Z","closed_at":"2015-03-08T19:15:35Z","body":"https://github.com/AlexsJones/whisper/blob/gui_interface/src/session/session.c\r\n\r\nI've come up with this in gui_interface branch.\r\n\r\nit should work for us hopefully.\r\n\r\nThe idea is from the gui you'd pass a pointer to a callback function for read (I give you session guid and the message).\r\n\r\nbefore i return the message ill call internally `read_and_decrypt` from a polling thread inside of session to clean up the message.\r\n\r\nWhat do you think?"}}