Просмотр исходного кода

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.
master
paweldomas 6 лет назад
Родитель
Сommit
e8e70d9d27
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      react/features/base/connection/actions.native.js

+ 1
- 1
react/features/base/connection/actions.native.js Просмотреть файл

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

Загрузка…
Отмена
Сохранить