mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 09:25:49 +03:00
Fix logs when deleting local room
This commit is contained in:
parent
8a5a47c6a5
commit
f4b50f1e0f
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ internal class DefaultDeleteLocalRoomTask @Inject constructor(
|
|||
?.also { Timber.i("## DeleteLocalRoomTask - TimelineEventEntity - delete ${it.size} entries") }
|
||||
?.deleteAllFromRealm()
|
||||
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()
|
||||
RoomSummaryEntity.where(realm, roomId = roomId).findAll()
|
||||
?.also { Timber.i("## DeleteLocalRoomTask - RoomSummaryEntity - delete ${it.size} entries") }
|
||||
|
@ -71,7 +71,7 @@ internal class DefaultDeleteLocalRoomTask @Inject constructor(
|
|||
?.deleteAllFromRealm()
|
||||
}
|
||||
} 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 a new issue