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

Fix bug whereby refreshing Vector would not allow querying of membership state #454

Merged
merged 2 commits into from
Sep 9, 2016

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented Sep 9, 2016

This was caused by Vector only sending a room alias with the view_room action.
We now resolve this to a room ID if we don't have a room ID.

…hip state

This was caused by Vector only sending a room alias with the `view_room` action.
We now resolve this to a room ID if we don't have a room ID.
sendError(event, "Must be viewing a room");
}
// no room ID but there is an alias, look it up.
console.log("Looking up alias " + currentRoomAlias);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currentRoomAlias could be falsy?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, right you are. Thanks. Done.

@lukebarnard1
Copy link
Contributor

LGTM apart from comment

@kegsay kegsay merged commit 2078f81 into develop Sep 9, 2016
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.

2 participants