forked from CringeStudios/gamja
Fix ping config lost in ConnectForm
Reported-by: xse <xse@riseup.net> References: https://lists.sr.ht/~emersion/public-inbox/patches/32126
This commit is contained in:
parent
576b9d51eb
commit
e3c2d85a94
@ -617,6 +617,13 @@ export default class App extends Component {
|
||||
}
|
||||
|
||||
connect(params) {
|
||||
// Merge our previous connection params so that config options such as
|
||||
// the ping interval are applied
|
||||
params = {
|
||||
...this.state.connectParams,
|
||||
...params,
|
||||
};
|
||||
|
||||
let serverID = null;
|
||||
this.setState((state) => {
|
||||
let update;
|
||||
|
Loading…
x
Reference in New Issue
Block a user