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

Add rooms that the user has left under archived in v2 sync. #316

Merged
merged 3 commits into from
Oct 21, 2015

Conversation

NegativeMjark
Copy link
Contributor

@@ -156,11 +175,14 @@ def initial_sync(self, sync_config):
)
room_list = yield self.store.get_rooms_for_user_where_membership_is(
user_id=sync_config.user.to_string(),
membership_list=[Membership.INVITE, Membership.JOIN]
membership_list=[
Membership.INVITE, Membership.JOIN, Membership.LEAVE
Copy link
Member

Choose a reason for hiding this comment

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

Are we ignoring bans?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess we should include banned rooms.

@NegativeMjark
Copy link
Contributor Author

@erikjohnston I've included banned rooms in the archived section of sync e3d75f5.

@erikjohnston
Copy link
Member

LGTM

NegativeMjark added a commit that referenced this pull request Oct 21, 2015
Add rooms that the user has left under archived in v2 sync.
@NegativeMjark NegativeMjark merged commit e94ffd8 into develop Oct 21, 2015
@erikjohnston erikjohnston deleted the markjh/v2_sync_archived branch November 19, 2015 17:11
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