Files
letro-ios/ElementX/Sources
Stefan Ceriu 1d0b1856bc Guard against rooms prematurely unsubscribing from sliding sync:
- with the advent of permalinks the same room can be now pushed multiple times onto the stack which means multiple calls to `subscribeForUpdates`
- the reverse doesn't hold and one call to `unsubscribeFromUpdates` will unsubscribe all the rooms at the same time
- we guard against that by tracking the number of subscriptions and calling the underlying `roomListItem.unsubscribe()` when the count goes back to zero
2024-04-19 11:14:48 +03:00
..
2024-04-10 10:47:23 +00:00