{"action":"created","issue":{"url":"https://api.github.com/repos/aperezdc/revolt/issues/46","repository_url":"https://api.github.com/repos/aperezdc/revolt","labels_url":"https://api.github.com/repos/aperezdc/revolt/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/aperezdc/revolt/issues/46/comments","events_url":"https://api.github.com/repos/aperezdc/revolt/issues/46/events","html_url":"https://github.com/aperezdc/revolt/issues/46","id":212429539,"node_id":"MDU6SXNzdWUyMTI0Mjk1Mzk=","number":46,"title":"Use GtkFileChooserNative to take advantage of the Flatpak file selection portal","user":{"login":"aperezdc","id":723451,"node_id":"MDQ6VXNlcjcyMzQ1MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/723451?v=4","gravatar_id":"","url":"https://api.github.com/users/aperezdc","html_url":"https://github.com/aperezdc","followers_url":"https://api.github.com/users/aperezdc/followers","following_url":"https://api.github.com/users/aperezdc/following{/other_user}","gists_url":"https://api.github.com/users/aperezdc/gists{/gist_id}","starred_url":"https://api.github.com/users/aperezdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aperezdc/subscriptions","organizations_url":"https://api.github.com/users/aperezdc/orgs","repos_url":"https://api.github.com/users/aperezdc/repos","events_url":"https://api.github.com/users/aperezdc/events{/privacy}","received_events_url":"https://api.github.com/users/aperezdc/received_events","type":"User","site_admin":false},"labels":[{"id":472652125,"node_id":"MDU6TGFiZWw0NzI2NTIxMjU=","url":"https://api.github.com/repos/aperezdc/revolt/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":481651503,"node_id":"MDU6TGFiZWw0ODE2NTE1MDM=","url":"https://api.github.com/repos/aperezdc/revolt/labels/upstream","name":"upstream","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-07T13:17:12Z","updated_at":"2018-07-03T21:38:13Z","closed_at":null,"author_association":"OWNER","body":"Instead of letting WebKitGTK+ use [GtkFileChooserDialog](https://developer.gnome.org/gtk3/stable/GtkFileChooserDialog.html), Revolt should connect to [WebKitWebView::run-file-chooser](https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#WebKitWebView-run-file-chooser) and use [GtkFileChooserNative](https://developer.gnome.org/gtk3/stable/gtk3-GtkFileChooserNative.html). The main motivation for this is enabling usage of the file chooser portal when running inside the Flatpak sandbox."},"comment":{"url":"https://api.github.com/repos/aperezdc/revolt/issues/comments/402299444","html_url":"https://github.com/aperezdc/revolt/issues/46#issuecomment-402299444","issue_url":"https://api.github.com/repos/aperezdc/revolt/issues/46","id":402299444,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjI5OTQ0NA==","user":{"login":"indolering","id":44454,"node_id":"MDQ6VXNlcjQ0NDU0","avatar_url":"https://avatars0.githubusercontent.com/u/44454?v=4","gravatar_id":"","url":"https://api.github.com/users/indolering","html_url":"https://github.com/indolering","followers_url":"https://api.github.com/users/indolering/followers","following_url":"https://api.github.com/users/indolering/following{/other_user}","gists_url":"https://api.github.com/users/indolering/gists{/gist_id}","starred_url":"https://api.github.com/users/indolering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indolering/subscriptions","organizations_url":"https://api.github.com/users/indolering/orgs","repos_url":"https://api.github.com/users/indolering/repos","events_url":"https://api.github.com/users/indolering/events{/privacy}","received_events_url":"https://api.github.com/users/indolering/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T21:38:13Z","updated_at":"2018-07-03T21:38:13Z","author_association":"NONE","body":"Can we remove the \"--filesystem=xdg-documents\" and \"--filesystem=xdg-pictures\" permissions?  Riot and WebKitGTK both suck in terms of security."}}
{"actor":{"display_login":"indolering"}}