Add flow and deviceType options to relay (#464)
* add flow and deviceType for when authTitle is changed * Update index.d.ts --------- Co-authored-by: extremeheat <extreme@protonmail.ch>
This commit is contained in:
parent
54840f818c
commit
842e66266f
2 changed files with 5 additions and 0 deletions
|
|
@ -186,6 +186,8 @@ class Relay extends Server {
|
|||
async openUpstreamConnection (ds, clientAddr) {
|
||||
const options = {
|
||||
authTitle: this.options.authTitle,
|
||||
flow: this.options.flow,
|
||||
deviceType: this.options.deviceType,
|
||||
offline: this.options.destination.offline ?? this.options.offline,
|
||||
username: this.options.offline ? ds.profile.name : ds.profile.xuid,
|
||||
version: this.options.version,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue