Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix view_next_room, view_previous_room and view_indexed_room #929

Merged
merged 2 commits into from
May 26, 2017

Conversation

lukebarnard1
Copy link
Contributor

These must now make a dispatch to RoomViewStore instead of calling viewRoom directly on MatrixChat. This will call both viewRoom of MatrixChat and the logic in RVS so there is some redundancy here. It'd be best to move as much as possible of viewRoom out to the RVS itself.

But for now, this fixes a bug that occures when leaving (the viewed room would not change).

Luke Barnard added 2 commits May 25, 2017 17:04
This prevents RoomView from doing any peeking whilst the join/registration is in progress, causing weirdness with TimelinePanel getPendingEventList (which throws an error if called when peeking).
These must now make a dispatch to RoomViewStore instead of calling `viewRoom` directly on MatrixChat. This will call both `viewRoom` of MatrixChat _and_ the logic in RVS so there is some redundancy here. It'd be best to move as much as possible of viewRoom out to the RVS itself.

But for now, this fixes a bug that occures when leaving (the viewed room would not change).
@ara4n
Copy link
Member

ara4n commented May 26, 2017

lgtm

@ara4n ara4n merged commit 1c77855 into new-guest-access May 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants