|
@@ -3,7 +3,12 @@
|
3
|
3
|
import { type Dispatch } from 'redux';
|
4
|
4
|
|
5
|
5
|
import { appNavigate, maybeRedirectToWelcomePage } from '../app/actions';
|
6
|
|
-import { conferenceWillJoin, getCurrentConference, setPassword } from '../base/conference';
|
|
6
|
+import {
|
|
7
|
+ conferenceWillJoin,
|
|
8
|
+ getCurrentConference,
|
|
9
|
+ sendLocalParticipant,
|
|
10
|
+ setPassword
|
|
11
|
+} from '../base/conference';
|
7
|
12
|
import { hideDialog, openDialog } from '../base/dialog';
|
8
|
13
|
import { getLocalParticipant } from '../base/participants';
|
9
|
14
|
|
|
@@ -183,6 +188,11 @@ export function startKnocking() {
|
183
|
188
|
const localParticipant = getLocalParticipant(state);
|
184
|
189
|
|
185
|
190
|
dispatch(conferenceWillJoin(membersOnly));
|
|
191
|
+
|
|
192
|
+ // We need to update the conference object with the current display name, if approved
|
|
193
|
+ // we want to send that display name, it was not updated in case when pre-join is disabled
|
|
194
|
+ sendLocalParticipant(state, membersOnly);
|
|
195
|
+
|
186
|
196
|
membersOnly.joinLobby(localParticipant.name, localParticipant.email);
|
187
|
197
|
dispatch(setKnockingState(true));
|
188
|
198
|
};
|