fix ktlint format

This commit is contained in:
ariskotsomitopoulos 2022-01-17 12:27:53 +02:00
parent 493374c423
commit 01ade64f3b

View File

@ -516,7 +516,7 @@ internal class RoomSyncHandler @Inject constructor(private val readReceiptHandle
private fun fixStuckLocalEcho(rooms: List<RoomEntity>) {
// when there are not room events, there is no need to delete SENT messages
// this might be useful for events like typing etc
if(rooms.isNullOrEmpty()) return
if (rooms.isNullOrEmpty()) return
rooms.forEach { roomEntity ->
roomEntity.sendingTimelineEvents.filter { timelineEvent ->
timelineEvent.root?.sendState == SendState.SENT