{"action":"created","issue":{"url":"https://api.github.com/repos/loqui/im/issues/683","labels_url":"https://api.github.com/repos/loqui/im/issues/683/labels{/name}","comments_url":"https://api.github.com/repos/loqui/im/issues/683/comments","events_url":"https://api.github.com/repos/loqui/im/issues/683/events","html_url":"https://github.com/loqui/im/issues/683","id":66428025,"number":683,"title":"[XMPP] contacts are never marked as online (breaks OTR too!)","user":{"login":"acidicX","id":1297454,"avatar_url":"https://avatars.githubusercontent.com/u/1297454?v=3","gravatar_id":"","url":"https://api.github.com/users/acidicX","html_url":"https://github.com/acidicX","followers_url":"https://api.github.com/users/acidicX/followers","following_url":"https://api.github.com/users/acidicX/following{/other_user}","gists_url":"https://api.github.com/users/acidicX/gists{/gist_id}","starred_url":"https://api.github.com/users/acidicX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acidicX/subscriptions","organizations_url":"https://api.github.com/users/acidicX/orgs","repos_url":"https://api.github.com/users/acidicX/repos","events_url":"https://api.github.com/users/acidicX/events{/privacy}","received_events_url":"https://api.github.com/users/acidicX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/loqui/im/milestones/15","html_url":"https://github.com/loqui/im/milestones/v0.4.3","labels_url":"https://api.github.com/repos/loqui/im/milestones/15/labels","id":1148859,"number":15,"title":"v0.4.3","description":"","creator":{"login":"TitanNano","id":4500858,"avatar_url":"https://avatars.githubusercontent.com/u/4500858?v=3","gravatar_id":"","url":"https://api.github.com/users/TitanNano","html_url":"https://github.com/TitanNano","followers_url":"https://api.github.com/users/TitanNano/followers","following_url":"https://api.github.com/users/TitanNano/following{/other_user}","gists_url":"https://api.github.com/users/TitanNano/gists{/gist_id}","starred_url":"https://api.github.com/users/TitanNano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TitanNano/subscriptions","organizations_url":"https://api.github.com/users/TitanNano/orgs","repos_url":"https://api.github.com/users/TitanNano/repos","events_url":"https://api.github.com/users/TitanNano/events{/privacy}","received_events_url":"https://api.github.com/users/TitanNano/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2015-06-04T07:25:57Z","updated_at":"2015-06-08T09:04:59Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-04-05T11:05:44Z","updated_at":"2015-06-08T19:05:09Z","closed_at":null,"body":"With loqui v0.4, all my XMPP contacts are always offline on app start (even if they are not). The online state does not even change when they are sending me messages or OTR becomes active. They only appear online if they reconnect their XMPP account while my loqui app is online.\r\n\r\nI did not have this problem with 0.3.4."},"comment":{"url":"https://api.github.com/repos/loqui/im/issues/comments/110109029","html_url":"https://github.com/loqui/im/issues/683#issuecomment-110109029","issue_url":"https://api.github.com/repos/loqui/im/issues/683","id":110109029,"user":{"login":"TitanNano","id":4500858,"avatar_url":"https://avatars.githubusercontent.com/u/4500858?v=3","gravatar_id":"","url":"https://api.github.com/users/TitanNano","html_url":"https://github.com/TitanNano","followers_url":"https://api.github.com/users/TitanNano/followers","following_url":"https://api.github.com/users/TitanNano/following{/other_user}","gists_url":"https://api.github.com/users/TitanNano/gists{/gist_id}","starred_url":"https://api.github.com/users/TitanNano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TitanNano/subscriptions","organizations_url":"https://api.github.com/users/TitanNano/orgs","repos_url":"https://api.github.com/users/TitanNano/repos","events_url":"https://api.github.com/users/TitanNano/events{/privacy}","received_events_url":"https://api.github.com/users/TitanNano/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T19:05:09Z","updated_at":"2015-06-08T19:05:09Z","body":"Well your disco#info request should look like the one your got, but sent form Loqui, not received.\r\n\r\n```\r\n<iq from='your account here' to='your contacts account here' type='get' id='some random id' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'><query xmlns='http://jabber.org/protocol/disco#info' node='http://loqui.im#rh7a1AdpdrMB9n4CAlZwADn1nws=='/></iq>\r\n```\r\n\r\nFor the response you can just search for the Id of your request because the response should have the same id."}}