This commit is contained in:
Benoit Marty 2019-06-21 11:38:15 +02:00
parent ce9fa15bcb
commit 3f74c4e933

View file

@ -128,6 +128,7 @@ class CreateRoomParams {
contentMap["algorithm"] = algorithm contentMap["algorithm"] = algorithm
val algoEvent = Event(type = EventType.ENCRYPTION, val algoEvent = Event(type = EventType.ENCRYPTION,
stateKey = "",
content = contentMap.toContent() content = contentMap.toContent()
) )
@ -161,6 +162,7 @@ class CreateRoomParams {
contentMap["history_visibility"] = historyVisibility contentMap["history_visibility"] = historyVisibility
val historyVisibilityEvent = Event(type = EventType.STATE_HISTORY_VISIBILITY, val historyVisibilityEvent = Event(type = EventType.STATE_HISTORY_VISIBILITY,
stateKey = "",
content = contentMap.toContent()) content = contentMap.toContent())
if (null == initialStates) { if (null == initialStates) {