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:
parent
0be68b59b7
commit
e8e70d9d27
|
@ -104,7 +104,7 @@ export function connect(id: ?string, password: ?string) {
|
|||
JitsiConnectionEvents.CONNECTION_FAILED,
|
||||
_onConnectionFailed);
|
||||
|
||||
return connection.connect({
|
||||
connection.connect({
|
||||
id,
|
||||
password
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue