cleaning
This commit is contained in:
parent
643e7ad3cb
commit
49381db2e3
|
@ -45,4 +45,3 @@ data class RoomJoinRulesContent(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -120,4 +120,3 @@ internal data class CreateRoomBody(
|
|||
@Json(name = "room_version")
|
||||
val roomVersion: String?
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -60,4 +60,3 @@ class ChoosePrivateSpaceTypeFragment @Inject constructor(
|
|||
return true
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
}
|
||||
|
|
|
@ -39,5 +39,4 @@ data class CreateSpaceState(
|
|||
AddRooms,
|
||||
ChoosePrivateType
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -64,7 +64,6 @@ class CreateSpaceViewModelTask @Inject constructor(
|
|||
.filter { it.isNotBlank() }
|
||||
.forEach { roomName ->
|
||||
try {
|
||||
|
||||
val roomId = try {
|
||||
if (params.isPublic) {
|
||||
awaitCallback {
|
||||
|
|
Loading…
Reference in New Issue