diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/model/SimpleXAPI.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/model/SimpleXAPI.kt index 6aae69a484..af32c0061a 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/model/SimpleXAPI.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/model/SimpleXAPI.kt @@ -1023,7 +1023,8 @@ object ChatController { } suspend fun validateServers(rh: Long?, userServers: List): List? { - val r = sendCmd(rh, CC.ApiValidateServers(userServers)) + val userId = currentUserId("validateServers") + val r = sendCmd(rh, CC.ApiValidateServers(userId, userServers)) return when (r) { is CR.UserServersValidation -> r.serverErrors else -> {