{"action":"closed","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/2369","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/2369/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/2369/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/2369/events","html_url":"https://github.com/nextcloud/server/issues/2369","id":191978886,"number":2369,"title":"Files shared via email have no icon indication","user":{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars.githubusercontent.com/u/213943?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false},"labels":[{"id":386379231,"url":"https://api.github.com/repos/nextcloud/server/labels/bug","name":"bug","color":"ee0701","default":true},{"id":389031994,"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20sharing","name":"feature: sharing","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars.githubusercontent.com/u/213943?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false},"assignees":[{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars.githubusercontent.com/u/213943?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/6","html_url":"https://github.com/nextcloud/server/milestones/Nextcloud%2011.0","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/6/labels","id":1896997,"number":6,"title":"Nextcloud 11.0","description":"**beta2**: 2016-11-28, **rc**: 2016-12-05","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":1010,"state":"open","created_at":"2016-07-21T15:58:16Z","updated_at":"2016-12-01T11:17:56Z","due_on":"2016-12-12T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-11-28T11:12:47Z","updated_at":"2016-12-01T11:17:56Z","closed_at":"2016-12-01T11:17:56Z","body":"The file is shared by public link\r\nThe folder is shared via email\r\n\r\n> ![files_-_nextcloud_-_2016-11-28_11 48 28](https://cloud.githubusercontent.com/assets/213943/20665628/a62b763c-b560-11e6-82ea-d5979a4c8676.png)\r\n\r\n@schiessle \r\n\r\nProblem 1 is the share type is not handled in\r\nhttps://github.com/nextcloud/server/blob/1190ce1dd5530865c6a5465e1e93a64002bcda47/apps/files_sharing/js/share.js#L114-L114\r\n\r\n```js\r\n\t\t\t\t\t\t_.each(shareTypes.split(',') || [], function(shareType) {\r\n\t\t\t\t\t\t\tshareType = parseInt(shareType, 10);\r\n```\r\n\r\nProblem 2 is the share type is not returned by the dav endpoint"}}
{"actor":{"display_login":"LukasReschke"}}