Skip to content

Commit

Permalink
#304 'open-url' wasn't moved to file caps
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed May 6, 2024
1 parent 085e0df commit b68ca43
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions html5/js/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,6 @@ class XpraClient {
"username": this.username,
"uuid": this.uuid,
"argv": [window.location.href],
"open-url": this.open_url,
"share": this.sharing,
"steal": this.steal,
"mouse.show": true,
Expand Down Expand Up @@ -1535,6 +1534,7 @@ class XpraClient {
"audio" : this._get_audio_caps(),
"clipboard": this._get_clipboard_caps(),
"keymap" : this._get_keymap_caps(),
"file": this._get_file_caps(),
"wants" : ["audio", ],
// encoding stuff
windows: true,
Expand All @@ -1556,15 +1556,18 @@ class XpraClient {
system_tray: true,
//we cannot handle this (GTK only):
named_cursors: false,
// file-transfer and printing:
"file": {
"enabled": true,
"printing": this.printing,
"size-limit": 32 * 1024 * 1024,
},
});
}

_get_file_caps() {
return {
"enabled": true,
"printing": this.printing,
"open-url": this.open_url,
"size-limit": 32 * 1024 * 1024,
}
}

_get_network_caps() {
const digests = this._get_digests();
return {
Expand Down

0 comments on commit b68ca43

Please sign in to comment.