{"action":"opened","issue":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3701","labels_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3701/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3701/comments","events_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3701/events","html_url":"https://github.com/NodeBB/NodeBB/issues/3701","id":109579555,"number":3701,"title":"socket.io modules refactor","user":{"login":"barisusakli","id":2583394,"avatar_url":"https://avatars.githubusercontent.com/u/2583394?v=3","gravatar_id":"","url":"https://api.github.com/users/barisusakli","html_url":"https://github.com/barisusakli","followers_url":"https://api.github.com/users/barisusakli/followers","following_url":"https://api.github.com/users/barisusakli/following{/other_user}","gists_url":"https://api.github.com/users/barisusakli/gists{/gist_id}","starred_url":"https://api.github.com/users/barisusakli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barisusakli/subscriptions","organizations_url":"https://api.github.com/users/barisusakli/orgs","repos_url":"https://api.github.com/users/barisusakli/repos","events_url":"https://api.github.com/users/barisusakli/events{/privacy}","received_events_url":"https://api.github.com/users/barisusakli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NodeBB/NodeBB/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/NodeBB/NodeBB/milestones/35","html_url":"https://github.com/NodeBB/NodeBB/milestones/0.9.0","labels_url":"https://api.github.com/repos/NodeBB/NodeBB/milestones/35/labels","id":1309386,"number":35,"title":"0.9.0","description":"","creator":{"login":"julianlam","id":923011,"avatar_url":"https://avatars.githubusercontent.com/u/923011?v=3","gravatar_id":"","url":"https://api.github.com/users/julianlam","html_url":"https://github.com/julianlam","followers_url":"https://api.github.com/users/julianlam/followers","following_url":"https://api.github.com/users/julianlam/following{/other_user}","gists_url":"https://api.github.com/users/julianlam/gists{/gist_id}","starred_url":"https://api.github.com/users/julianlam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianlam/subscriptions","organizations_url":"https://api.github.com/users/julianlam/orgs","repos_url":"https://api.github.com/users/julianlam/repos","events_url":"https://api.github.com/users/julianlam/events{/privacy}","received_events_url":"https://api.github.com/users/julianlam/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":43,"state":"open","created_at":"2015-09-16T22:21:09Z","updated_at":"2015-10-02T21:59:41Z","due_on":"2015-09-22T04:00:00Z","closed_at":null},"comments":0,"created_at":"2015-10-02T21:59:41Z","updated_at":"2015-10-02T21:59:41Z","closed_at":null,"body":"Every function that is exported in the files under socket.io is callable from the client.\r\n\r\n[notifyOnlineUsers ](https://github.com/NodeBB/NodeBB/blob/master/src/socket.io/posts.js#L64-L89)\r\n[sendNotificationToPostOwner ](https://github.com/NodeBB/NodeBB/blob/master/src/socket.io/posts.js#L91-L126)\r\n\r\nThose functions are used from other modules but we don't want them avaiable to the client side."}}