mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
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
1 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue