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:
Simon Ser 2022-06-08 15:14:06 +02:00
parent 576b9d51eb
commit e3c2d85a94

View file

@ -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;