mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-10 05:41:56 +00:00
build
This commit is contained in:
+2
-1
@@ -1023,7 +1023,8 @@ object ChatController {
|
||||
}
|
||||
|
||||
suspend fun validateServers(rh: Long?, userServers: List<UserOperatorServers>): List<UserServersError>? {
|
||||
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 -> {
|
||||
|
||||
Reference in New Issue
Block a user