mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
fix check for remote server
As remote server is empty instead null when not available, the check was also true when no remote server was in use. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
e1a3a03b61
commit
e51ab67c37
@ -2514,7 +2514,7 @@ class ChatActivity :
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentConversation!!.remoteServer != null) {
|
if (currentConversation!!.remoteServer?.isNotEmpty() == true) {
|
||||||
val apiVersion = ApiUtils.getSignalingApiVersion(conversationUser!!, intArrayOf(ApiUtils.API_V3, 2, 1))
|
val apiVersion = ApiUtils.getSignalingApiVersion(conversationUser!!, intArrayOf(ApiUtils.API_V3, 2, 1))
|
||||||
ncApi.getSignalingSettings(
|
ncApi.getSignalingSettings(
|
||||||
credentials,
|
credentials,
|
||||||
|
Loading…
Reference in New Issue
Block a user