diff --git a/src/main/kotlin/org/jitsi/jibri/config/JibriConfig.kt b/src/main/kotlin/org/jitsi/jibri/config/JibriConfig.kt index 1d0c959f..790b71c1 100644 --- a/src/main/kotlin/org/jitsi/jibri/config/JibriConfig.kt +++ b/src/main/kotlin/org/jitsi/jibri/config/JibriConfig.kt @@ -46,7 +46,7 @@ fun com.typesafe.config.Config.toXmppCredentials(): XmppCredentials = XmppCreden port = if (hasPath("port")) getInt("port") else null, username = getString("username"), password = getString("password"), - randomizeUsername = getBoolean("randomize-username") + randomizeUsername = if (hasPath("randomize-username")) getBoolean("randomize-username") else false ) data class XmppMuc(