Update rust-sdk to 0.1.54

This commit is contained in:
ganfra 2023-09-18 10:29:52 +02:00
parent 49bcf5cd81
commit bc68d47d1f
3 changed files with 7 additions and 1 deletions

View file

@ -99,6 +99,9 @@ class RoomSummaryListProcessor(
RoomListEntriesUpdate.Clear -> {
clear()
}
is RoomListEntriesUpdate.Truncate -> {
subList(update.length.toInt(), size).clear()
}
}
}

View file

@ -98,6 +98,9 @@ internal class MatrixTimelineDiffProcessor(
TimelineChange.CLEAR -> {
clear()
}
TimelineChange.TRUNCATE -> {
// Not supported
}
}
}