{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2618","repository_url":"https://api.github.com/repos/zulip/zulip-mobile","labels_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2618/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2618/comments","events_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2618/events","html_url":"https://github.com/zulip/zulip-mobile/issues/2618","id":328848718,"node_id":"MDU6SXNzdWUzMjg4NDg3MTg=","number":2618,"title":"Download from lightbox fails to authenticate","user":{"login":"gnprice","id":28173,"node_id":"MDQ6VXNlcjI4MTcz","avatar_url":"https://avatars1.githubusercontent.com/u/28173?v=4","gravatar_id":"","url":"https://api.github.com/users/gnprice","html_url":"https://github.com/gnprice","followers_url":"https://api.github.com/users/gnprice/followers","following_url":"https://api.github.com/users/gnprice/following{/other_user}","gists_url":"https://api.github.com/users/gnprice/gists{/gist_id}","starred_url":"https://api.github.com/users/gnprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnprice/subscriptions","organizations_url":"https://api.github.com/users/gnprice/orgs","repos_url":"https://api.github.com/users/gnprice/repos","events_url":"https://api.github.com/users/gnprice/events{/privacy}","received_events_url":"https://api.github.com/users/gnprice/received_events","type":"User","site_admin":false},"labels":[{"id":372673691,"node_id":"MDU6TGFiZWwzNzI2NzM2OTE=","url":"https://api.github.com/repos/zulip/zulip-mobile/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-03T18:00:50Z","updated_at":"2018-06-04T15:32:35Z","closed_at":null,"author_association":"MEMBER","body":"Steps to reproduce:\r\n* Log into an org on zulipchat.com, or any other server running a recent release and on Xenial. (Not chat.zulip.org, which is on Trusty.)\r\n* Find a conversation with a user-uploaded image in it. (Or just upload one.)\r\n* Tap the image, bringing up the lightbox.\r\n* Tap the ellipsis in the lower right to bring up a menu; select \"Download file\".\r\n* The download fails. It should succeed.\r\n\r\nI tested this just now with 13.4.88 on Android. I'm pretty sure the cause is that we just haven't fixed the download to provide authentication to the server. For more details, see commit cb3198606, where we fixed the display of images within the message list webview.\r\n"},"comment":{"url":"https://api.github.com/repos/zulip/zulip-mobile/issues/comments/394398067","html_url":"https://github.com/zulip/zulip-mobile/issues/2618#issuecomment-394398067","issue_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2618","id":394398067,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDM5ODA2Nw==","user":{"login":"borisyankov","id":867242,"node_id":"MDQ6VXNlcjg2NzI0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/867242?v=4","gravatar_id":"","url":"https://api.github.com/users/borisyankov","html_url":"https://github.com/borisyankov","followers_url":"https://api.github.com/users/borisyankov/followers","following_url":"https://api.github.com/users/borisyankov/following{/other_user}","gists_url":"https://api.github.com/users/borisyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/borisyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisyankov/subscriptions","organizations_url":"https://api.github.com/users/borisyankov/orgs","repos_url":"https://api.github.com/users/borisyankov/repos","events_url":"https://api.github.com/users/borisyankov/events{/privacy}","received_events_url":"https://api.github.com/users/borisyankov/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T15:32:35Z","updated_at":"2018-06-04T15:32:35Z","author_association":"CONTRIBUTOR","body":"Also, the issue could be the auth headers which we can not provide with this API - `CameraRoll.saveToCameraRoll` accepts a `string`, not a resource."}}
{"actor":{"display_login":"borisyankov"}}