Create room screen - WIP TODO: screen rotation - navigate to created room

This commit is contained in:
Benoit Marty
2019-06-07 16:07:35 +02:00
parent ed18a504e4
commit 4c5bffe0f5
18 changed files with 698 additions and 9 deletions

View File

@ -100,7 +100,7 @@ class CreateRoomParams {
* private_chat => join_rules is set to invite. history_visibility is set to shared.
* trusted_private_chat => join_rules is set to invite. history_visibility is set to shared. All invitees are given the same power level as the
* room creator.
* public_chat: => join_rules is set to public. history_visibility is set to shared. One of: ["private_chat", "public_chat", "trusted_private_chat"]
* public_chat: => join_rules is set to public. history_visibility is set to shared.
*/
var preset: CreateRoomPreset? = null

View File

@ -54,6 +54,7 @@ internal class DefaultCreateRoomTask(private val roomAPI: RoomAPI,
handlerThread.start()
val handler = Handler(handlerThread.looper)
// TODO Maybe do the same code for join room request ?
handler.post {
val realm = Realm.getInstance(realmConfiguration)