~emersion/gamja

e3c2d85a94d337e3425156d697fa75d6273b9c67 — Simon Ser 2 months ago 576b9d5
Fix ping config lost in ConnectForm

Reported-by: xse <xse@riseup.net>
References: https://lists.sr.ht/~emersion/public-inbox/patches/32126
1 files changed, 7 insertions(+), 0 deletions(-)

M components/app.js
M components/app.js => components/app.js +7 -0
@@ 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;