File tree Expand file tree Collapse file tree
jicofo/src/main/kotlin/org/jitsi/jicofo/xmpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,6 +87,17 @@ class ConferenceIqHandler(
8787 to = query.from
8888 this .room = query.room
8989 focusJid = focusAuthJid
90+
91+ if (authAuthority != null ) {
92+ addProperty(ConferenceIq .Property (" authentication" , " true" ))
93+ addProperty(ConferenceIq .Property (" externalAuth" , authAuthority.isExternal.toString()))
94+ } else {
95+ addProperty(ConferenceIq .Property (" authentication" , " false" ))
96+ }
97+
98+ if (jigasiEnabled) {
99+ addProperty(ConferenceIq .Property (" sipGatewayEnabled" , " true" ))
100+ }
90101 }
91102
92103 logger.info(" Conference request for room $room , from ${query.from} , token=${query.token != null } " )
@@ -166,17 +177,6 @@ class ConferenceIqHandler(
166177 }
167178 }
168179
169- // Authentication module enabled?
170- if (authAuthority != null ) {
171- response.addProperty(ConferenceIq .Property (" authentication" , " true" ))
172- response.addProperty(ConferenceIq .Property (" externalAuth" , authAuthority.isExternal.toString()))
173- } else {
174- response.addProperty(ConferenceIq .Property (" authentication" , " false" ))
175- }
176-
177- if (jigasiEnabled) {
178- response.addProperty(ConferenceIq .Property (" sipGatewayEnabled" , " true" ))
179- }
180180 return response
181181 }
182182
You can’t perform that action at this time.
0 commit comments