Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syncLeftRooms() #56

Merged
merged 5 commits into from
Dec 18, 2015
Merged

Add syncLeftRooms() #56

merged 5 commits into from
Dec 18, 2015

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented Dec 18, 2015

Implemented for element-hq/element-web#348

This adds MatrixClient.syncLeftRooms() which fetches left rooms and dumps them into the store. Everything Just Works. Multiple calls to syncLeftRooms() will return the same promise if the request is ongoing, or NOP if the request was successful. If the request failed, it will be retried. Manually tested these cases.

See also:

@ara4n
Copy link
Member

ara4n commented Dec 18, 2015

lgtm other than the extreme ming of the archived room filter having to also pull in all of the existing rooms you're in. filed that one as spec-307

kegsay added a commit that referenced this pull request Dec 18, 2015
@kegsay kegsay merged commit 2eec76b into develop Dec 18, 2015
@t3chguy t3chguy deleted the kegan/archived-rooms branch May 10, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants