This commit is contained in:
Benoit Marty 2022-04-25 18:29:49 +02:00
parent d2eca739f4
commit abdfd9deee
1 changed files with 2 additions and 1 deletions

View File

@ -212,7 +212,8 @@ class SpaceListViewModel @AssistedInject constructor(@Assisted initialState: Spa
} }
session.coroutineScope.launch { session.coroutineScope.launch {
orderCommands.forEach { orderCommands.forEach {
session.getRoom(it.spaceId)?.updateAccountData(RoomAccountDataTypes.EVENT_TYPE_SPACE_ORDER, session.getRoom(it.spaceId)?.updateAccountData(
RoomAccountDataTypes.EVENT_TYPE_SPACE_ORDER,
SpaceOrderContent(order = it.order).toContent() SpaceOrderContent(order = it.order).toContent()
) )
} }