This commit is contained in:
Valere 2021-04-13 10:18:52 +02:00
parent 643e7ad3cb
commit 49381db2e3
8 changed files with 1 additions and 10 deletions

View File

@ -45,4 +45,3 @@ data class RoomJoinRulesContent(
}
}
}

View File

@ -22,7 +22,6 @@ import org.matrix.android.sdk.api.session.room.model.GuestAccess
import org.matrix.android.sdk.api.session.room.model.PowerLevelsContent
import org.matrix.android.sdk.api.session.room.model.RoomDirectoryVisibility
import org.matrix.android.sdk.api.session.room.model.RoomHistoryVisibility
import org.matrix.android.sdk.api.session.room.model.RoomJoinRules
import org.matrix.android.sdk.api.session.room.model.RoomJoinRulesAllowEntry
import org.matrix.android.sdk.internal.crypto.MXCRYPTO_ALGORITHM_MEGOLM
@ -155,7 +154,6 @@ open class CreateRoomParams {
algorithm = MXCRYPTO_ALGORITHM_MEGOLM
}
var roomVersion: String? = null
var joinRuleRestricted: List<RoomJoinRulesAllowEntry>? = null
@ -165,4 +163,3 @@ open class CreateRoomParams {
private const val CREATION_CONTENT_KEY_ROOM_TYPE = "org.matrix.msc1772.type"
}
}

View File

@ -120,4 +120,3 @@ internal data class CreateRoomBody(
@Json(name = "room_version")
val roomVersion: String?
)

View File

@ -161,7 +161,7 @@ Formatter\.formatShortFileSize===1
# android\.text\.TextUtils
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
enum class===97
enum class===98
### Do not import temporary legacy classes
import org.matrix.android.sdk.internal.legacy.riot===3

View File

@ -60,4 +60,3 @@ class ChoosePrivateSpaceTypeFragment @Inject constructor(
return true
}
}

View File

@ -29,5 +29,4 @@ sealed class CreateSpaceAction : VectorViewModelAction {
object NextFromDefaultRooms : CreateSpaceAction()
data class DefaultRoomNameChanged(val index: Int, val name: String) : CreateSpaceAction()
data class SetSpaceTopology(val topology: SpaceTopology) : CreateSpaceAction()
}

View File

@ -39,5 +39,4 @@ data class CreateSpaceState(
AddRooms,
ChoosePrivateType
}
}

View File

@ -64,7 +64,6 @@ class CreateSpaceViewModelTask @Inject constructor(
.filter { it.isNotBlank() }
.forEach { roomName ->
try {
val roomId = try {
if (params.isPublic) {
awaitCallback {