Skip to content

Commit

Permalink
Merge pull request #4265 from nextcloud/bugfix/noid/fixCrashWhenExtSi…
Browse files Browse the repository at this point in the history
…gnalingEmpty

Fix crash when externalSignalingServer is empty
  • Loading branch information
sowjanyakch authored Sep 25, 2024
2 parents b1cc652 + 7dc7051 commit 2592f72
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 @@ -2463,7 +2463,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 2592f72

Please sign in to comment.