{"action":"created","issue":{"url":"https://api.github.com/repos/siacs/Conversations/issues/1643","labels_url":"https://api.github.com/repos/siacs/Conversations/issues/1643/labels{/name}","comments_url":"https://api.github.com/repos/siacs/Conversations/issues/1643/comments","events_url":"https://api.github.com/repos/siacs/Conversations/issues/1643/events","html_url":"https://github.com/siacs/Conversations/issues/1643","id":125489357,"number":1643,"title":"Service Discovery for roster items","user":{"login":"singpolyma","id":12770,"avatar_url":"https://avatars.githubusercontent.com/u/12770?v=3","gravatar_id":"","url":"https://api.github.com/users/singpolyma","html_url":"https://github.com/singpolyma","followers_url":"https://api.github.com/users/singpolyma/followers","following_url":"https://api.github.com/users/singpolyma/following{/other_user}","gists_url":"https://api.github.com/users/singpolyma/gists{/gist_id}","starred_url":"https://api.github.com/users/singpolyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singpolyma/subscriptions","organizations_url":"https://api.github.com/users/singpolyma/orgs","repos_url":"https://api.github.com/users/singpolyma/repos","events_url":"https://api.github.com/users/singpolyma/events{/privacy}","received_events_url":"https://api.github.com/users/singpolyma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-07T21:35:06Z","updated_at":"2016-01-07T22:43:47Z","closed_at":null,"body":"Am I correct in reading from the code that currently disco is only done on our servers and our own bare JID and not on roster items or other contacts?\r\n\r\nFor the purposes of #913, #1601, and similar, I propose that discovery (along with caching as per https://xmpp.org/extensions/xep-0115.html) be done for all roster items.  This could also be used for disabling file transfer UI when the remote does not support any file transfer protocol, etc.\r\n\r\nIf I am mistaken, please let me know.  Would the right place to start adding this be in XmppConnection along with the existing disco calls?"},"comment":{"url":"https://api.github.com/repos/siacs/Conversations/issues/comments/169830765","html_url":"https://github.com/siacs/Conversations/issues/1643#issuecomment-169830765","issue_url":"https://api.github.com/repos/siacs/Conversations/issues/1643","id":169830765,"user":{"login":"singpolyma","id":12770,"avatar_url":"https://avatars.githubusercontent.com/u/12770?v=3","gravatar_id":"","url":"https://api.github.com/users/singpolyma","html_url":"https://github.com/singpolyma","followers_url":"https://api.github.com/users/singpolyma/followers","following_url":"https://api.github.com/users/singpolyma/following{/other_user}","gists_url":"https://api.github.com/users/singpolyma/gists{/gist_id}","starred_url":"https://api.github.com/users/singpolyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singpolyma/subscriptions","organizations_url":"https://api.github.com/users/singpolyma/orgs","repos_url":"https://api.github.com/users/singpolyma/repos","events_url":"https://api.github.com/users/singpolyma/events{/privacy}","received_events_url":"https://api.github.com/users/singpolyma/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T22:43:47Z","updated_at":"2016-01-07T22:43:47Z","body":"> I'd keep the live ones (those associated with a presence) in RAM for faster access\r\n\r\nSo, do the lookup in the presence parser, and store the actual disco information in the proposed `Presence` object instead of just the caps hash?"}}