Fix logs when deleting local room
This commit is contained in:
parent
8a5a47c6a5
commit
f4b50f1e0f
|
@ -61,7 +61,7 @@ internal class DefaultDeleteLocalRoomTask @Inject constructor(
|
||||||
?.also { Timber.i("## DeleteLocalRoomTask - TimelineEventEntity - delete ${it.size} entries") }
|
?.also { Timber.i("## DeleteLocalRoomTask - TimelineEventEntity - delete ${it.size} entries") }
|
||||||
?.deleteAllFromRealm()
|
?.deleteAllFromRealm()
|
||||||
ChunkEntity.where(realm, roomId = roomId).findAll()
|
ChunkEntity.where(realm, roomId = roomId).findAll()
|
||||||
?.also { Timber.i("## DeleteLocalRoomTask - RoomMemberSummaryEntity - delete ${it.size} entries") }
|
?.also { Timber.i("## DeleteLocalRoomTask - ChunkEntity - delete ${it.size} entries") }
|
||||||
?.deleteAllFromRealm()
|
?.deleteAllFromRealm()
|
||||||
RoomSummaryEntity.where(realm, roomId = roomId).findAll()
|
RoomSummaryEntity.where(realm, roomId = roomId).findAll()
|
||||||
?.also { Timber.i("## DeleteLocalRoomTask - RoomSummaryEntity - delete ${it.size} entries") }
|
?.also { Timber.i("## DeleteLocalRoomTask - RoomSummaryEntity - delete ${it.size} entries") }
|
||||||
|
@ -71,7 +71,7 @@ internal class DefaultDeleteLocalRoomTask @Inject constructor(
|
||||||
?.deleteAllFromRealm()
|
?.deleteAllFromRealm()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Timber.i("## DeleteLocalRoomTask - Failed to remove room id $roomId: not a local room")
|
Timber.i("## DeleteLocalRoomTask - Failed to remove room with id $roomId: not a local room")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue