Skip to content

Commit

Permalink
Merge pull request #4269 from nextcloud/backport/4265/stable-20.0
Browse files Browse the repository at this point in the history
[stable-20.0] Fix crash when externalSignalingServer is empty
  • Loading branch information
mahibi authored Sep 25, 2024
2 parents 66f9756 + baae1c4 commit bd65cad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2448,7 +2448,9 @@ class ChatActivity :
}

override fun onNext(signalingSettingsOverall: SignalingSettingsOverall) {
if (signalingSettingsOverall.ocs!!.settings!!.externalSignalingServer == null) {
if (signalingSettingsOverall.ocs!!.settings!!.externalSignalingServer == null ||
signalingSettingsOverall.ocs!!.settings!!.externalSignalingServer?.isEmpty() == true
) {
return
}

Expand Down

0 comments on commit bd65cad

Please sign in to comment.