Skip to content

Commit

Permalink
fix: Add default value for randomize-username.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev authored and damencho committed Feb 21, 2024
1 parent 161176b commit 081b935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/jitsi/jibri/config/JibriConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 081b935

Please sign in to comment.