Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Connect timeline to event updates earlier
This creates the timeline object earlier in the Room.getTimeline() method. This results to that the Timeline object already starts to listen on the event stream while the getTimeline() method requests users from the database and tries to decrypt room events. I assume that this causes the problem that on timeline creation new events get lost because they come in, while getTimeline() is not yet completed but the onEvent stream is not yet connected at the same time.
- Loading branch information