Skip to content
Snippets Groups Projects
Commit 4b6fb201 authored by Taras's avatar Taras
Browse files

Remove create room delay

parent 59c78c84
No related branches found
No related tags found
No related merge requests found
package org.futo.circles.auth.feature.workspace.data_source
import kotlinx.coroutines.delay
import org.futo.circles.core.feature.room.RoomRelationsBuilder
import org.futo.circles.core.feature.room.create.CreateRoomDataSource
import org.futo.circles.core.feature.workspace.SpacesTreeAccountDataSource
......@@ -95,7 +94,6 @@ class ConfigureWorkspaceDataSource @Inject constructor(
room.accountDataKey?.let { key ->
spacesTreeAccountDataSource.updateSpacesConfigAccountData(key, roomId)
}
delay(CREATE_ROOM_DELAY)
return roomId
}
......@@ -110,9 +108,4 @@ class ConfigureWorkspaceDataSource @Inject constructor(
roomRelationsBuilder.removeRelations(roomId, myCirclesSpaceId)
}
private companion object {
private const val CREATE_ROOM_DELAY = 1000L
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment