mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
Remove safe call
This commit is contained in:
parent
3905e564bd
commit
725537d8fe
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ internal class DefaultCreateRoomFromLocalRoomTask @Inject constructor(
|
|||
|
||||
override suspend fun execute(params: CreateRoomFromLocalRoomTask.Params): String {
|
||||
val replacementRoomId = stateEventDataSource.getStateEvent(params.localRoomId, EventType.STATE_ROOM_TOMBSTONE, QueryStringValue.IsEmpty)
|
||||
?.content?.toModel<RoomTombstoneContent>()
|
||||
?.content.toModel<RoomTombstoneContent>()
|
||||
?.replacementRoomId
|
||||
|
||||
if (replacementRoomId != null) {
|
||||
|
|
Loading…
Reference in a new issue