mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Fix kltint errors
This commit is contained in:
parent
b92cb753f9
commit
6f5f773360
1 changed files with 1 additions and 2 deletions
|
@ -132,7 +132,6 @@ internal class RoomSyncHandler @Inject constructor(private val readReceiptHandle
|
|||
}.also {
|
||||
fixStuckLocalEcho(it)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
is HandlingStrategy.INVITED ->
|
||||
|
@ -514,7 +513,7 @@ internal class RoomSyncHandler @Inject constructor(private val readReceiptHandle
|
|||
* While we cannot know when a specific event arrived from the pagination (no transactionId included), after each room /sync
|
||||
* we clear all SENT events, and we are sure that we will receive it from /sync or pagination
|
||||
*/
|
||||
private fun fixStuckLocalEcho(rooms: List<RoomEntity>){
|
||||
private fun fixStuckLocalEcho(rooms: List<RoomEntity>) {
|
||||
rooms.forEach { roomEntity ->
|
||||
roomEntity.sendingTimelineEvents.filter { timelineEvent ->
|
||||
timelineEvent.root?.sendState == SendState.SENT
|
||||
|
|
Loading…
Add table
Reference in a new issue