|
@@ -1,4 +1,4 @@
|
1
|
|
-/* @flow */
|
|
1
|
+// @flow
|
2
|
2
|
|
3
|
3
|
import _ from 'lodash';
|
4
|
4
|
import type { Dispatch } from 'redux';
|
|
@@ -263,7 +263,7 @@ export function disconnect() {
|
263
|
263
|
const state = getState();
|
264
|
264
|
const { conference, joining } = state['features/base/conference'];
|
265
|
265
|
|
266
|
|
- // The conference we are joining or have already joined.
|
|
266
|
+ // The conference we have already joined or are joining.
|
267
|
267
|
const conference_ = conference || joining;
|
268
|
268
|
|
269
|
269
|
// Promise which completes when the conference has been left and the
|
|
@@ -286,7 +286,7 @@ export function disconnect() {
|
286
|
286
|
// Disconnect the connection.
|
287
|
287
|
const { connecting, connection } = state['features/base/connection'];
|
288
|
288
|
|
289
|
|
- // The connection we are connecting or have already connected.
|
|
289
|
+ // The connection we have already connected or are connecting.
|
290
|
290
|
const connection_ = connection || connecting;
|
291
|
291
|
|
292
|
292
|
if (connection_) {
|