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.
This commit is contained in:
paweldomas 2019-05-03 13:11:33 -05:00 committed by Saúl Ibarra Corretgé
parent 0be68b59b7
commit e8e70d9d27
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ export function connect(id: ?string, password: ?string) {
JitsiConnectionEvents.CONNECTION_FAILED,
_onConnectionFailed);
return connection.connect({
connection.connect({
id,
password
});