{"action":"created","issue":{"url":"https://api.github.com/repos/prawnsalad/KiwiIRC/issues/814","repository_url":"https://api.github.com/repos/prawnsalad/KiwiIRC","labels_url":"https://api.github.com/repos/prawnsalad/KiwiIRC/issues/814/labels{/name}","comments_url":"https://api.github.com/repos/prawnsalad/KiwiIRC/issues/814/comments","events_url":"https://api.github.com/repos/prawnsalad/KiwiIRC/issues/814/events","html_url":"https://github.com/prawnsalad/KiwiIRC/issues/814","id":125429692,"number":814,"title":"Listen and detect finish event \"whois\"","user":{"login":"Chrysweel","id":1416870,"avatar_url":"https://avatars.githubusercontent.com/u/1416870?v=3","gravatar_id":"","url":"https://api.github.com/users/Chrysweel","html_url":"https://github.com/Chrysweel","followers_url":"https://api.github.com/users/Chrysweel/followers","following_url":"https://api.github.com/users/Chrysweel/following{/other_user}","gists_url":"https://api.github.com/users/Chrysweel/gists{/gist_id}","starred_url":"https://api.github.com/users/Chrysweel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chrysweel/subscriptions","organizations_url":"https://api.github.com/users/Chrysweel/orgs","repos_url":"https://api.github.com/users/Chrysweel/repos","events_url":"https://api.github.com/users/Chrysweel/events{/privacy}","received_events_url":"https://api.github.com/users/Chrysweel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-07T16:32:27Z","updated_at":"2016-02-05T11:14:34Z","closed_at":"2016-02-05T11:14:34Z","body":"Hello. \r\n\r\nI found an error.. I'll try to explain it ..\r\n\r\nI have a plugin, it plugin has code : \r\n```\r\n     var myFunction = function(response) {\r\n                    console.log(response);\r\n                    .....\r\n                   my code\r\n                   .....\r\n                    //if we are in finish of whois\r\n                    if(response.end ){\r\n                        console.log('endd whois');\r\n                        network.off('whois', myFunction);\r\n                    }\r\n                };\r\n\r\n                //check if user is registered in irc\r\n                network.on('whois', myFunction);\r\n               network.raw('whois '+username);\r\n```\r\n\r\nIt work if I get messages of whois in order correctly, but I get first the last message.\r\n```\r\nend -> true\r\nmsg->\"End of /WHOIS list.\"\r\n```\r\nSo code execute network.off ... so the plugin does nothing and dont work correctly.\r\n\r\nI think that the problem is with the \"Transports available to the client.\"\r\nIn my case in mozilla firefox I get the last message of first.\r\n\r\nBut I just discovered that If I enable option in config kiwii: \r\n>conf.client_transports = ['polling'];\r\n\r\nIt work good...\r\n\r\nIs very strange any idea ?"},"comment":{"url":"https://api.github.com/repos/prawnsalad/KiwiIRC/issues/comments/180303144","html_url":"https://github.com/prawnsalad/KiwiIRC/issues/814#issuecomment-180303144","issue_url":"https://api.github.com/repos/prawnsalad/KiwiIRC/issues/814","id":180303144,"user":{"login":"Chrysweel","id":1416870,"avatar_url":"https://avatars.githubusercontent.com/u/1416870?v=3","gravatar_id":"","url":"https://api.github.com/users/Chrysweel","html_url":"https://github.com/Chrysweel","followers_url":"https://api.github.com/users/Chrysweel/followers","following_url":"https://api.github.com/users/Chrysweel/following{/other_user}","gists_url":"https://api.github.com/users/Chrysweel/gists{/gist_id}","starred_url":"https://api.github.com/users/Chrysweel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chrysweel/subscriptions","organizations_url":"https://api.github.com/users/Chrysweel/orgs","repos_url":"https://api.github.com/users/Chrysweel/repos","events_url":"https://api.github.com/users/Chrysweel/events{/privacy}","received_events_url":"https://api.github.com/users/Chrysweel/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T11:14:34Z","updated_at":"2016-02-05T11:14:34Z","body":"mmm I dont remember @prawnsalad sorry !\r\n\r\nI close issue, and If the problem continue I will open in a future ! :)"}}