mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-25 06:25:40 +03:00
Merge pull request #4269 from nextcloud/backport/4265/stable-20.0
[stable-20.0] Fix crash when externalSignalingServer is empty
This commit is contained in:
commit
bd65cad681
1 changed files with 3 additions and 1 deletions
|
@ -2448,7 +2448,9 @@ class ChatActivity :
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onNext(signalingSettingsOverall: SignalingSettingsOverall) {
|
override fun onNext(signalingSettingsOverall: SignalingSettingsOverall) {
|
||||||
if (signalingSettingsOverall.ocs!!.settings!!.externalSignalingServer == null) {
|
if (signalingSettingsOverall.ocs!!.settings!!.externalSignalingServer == null ||
|
||||||
|
signalingSettingsOverall.ocs!!.settings!!.externalSignalingServer?.isEmpty() == true
|
||||||
|
) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue