From 081b935540df6212b591f4ba42727c025e079580 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Wed, 21 Feb 2024 13:02:03 -0600 Subject: [PATCH] fix: Add default value for randomize-username. --- src/main/kotlin/org/jitsi/jibri/config/JibriConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(