From e8e70d9d2780b061e59262b26d78befe69cc4838 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Fri, 3 May 2019 13:11:33 -0500 Subject: [PATCH] ref(base/connection/actions.native): JitsiConnection.connect returns void Do not return anything from JitsiConnection.connect, because it's not a promise and returns void. Doing so is confusing to the reader. --- react/features/base/connection/actions.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/base/connection/actions.native.js b/react/features/base/connection/actions.native.js index 5ff33859e..5bf8441c8 100644 --- a/react/features/base/connection/actions.native.js +++ b/react/features/base/connection/actions.native.js @@ -104,7 +104,7 @@ export function connect(id: ?string, password: ?string) { JitsiConnectionEvents.CONNECTION_FAILED, _onConnectionFailed); - return connection.connect({ + connection.connect({ id, password });