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

Already on GitHub? Sign in to your account

Send down device list change notif when member leaves/rejoins room #2443

Merged
merged 7 commits into from Sep 18, 2017

Conversation

Projects
None yet
3 participants
Owner

erikjohnston commented Sep 7, 2017

No description provided.

synapse/handlers/sync.py
- defer.returnValue((newly_joined_rooms, newly_joined_users))
+ newly_left_users -= newly_joined_users
@richvdh

richvdh Sep 8, 2017

Member

this looks dodge. What happens if the user joined and then left? they appear in newly_joined and not newly_left?

@richvdh

richvdh Sep 8, 2017

Member

oh right, we're merging the results across rooms. I think it's ok.

erikjohnston added some commits Sep 8, 2017

@erikjohnston erikjohnston merged commit 993d3f7 into develop Sep 18, 2017

6 of 8 checks passed

Sytest Dendron (Commit) Build #2569 origin/erikj/rejoin_device_lists failed in 4 min 34 sec
Details
Sytest Dendron (Merged PR) Build finished.
Details
Sytest Postgres (Commit) Build #3401 origin/erikj/rejoin_device_lists succeeded in 3 min 59 sec
Details
Sytest Postgres (Merged PR) Build finished.
Details
Sytest SQLite (Commit) Build #3494 origin/erikj/rejoin_device_lists succeeded in 2 min 51 sec
Details
Sytest SQLite (Merged PR) Build finished.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@richvdh richvdh referenced this pull request in vector-im/riot-web Sep 18, 2017

Closed

Stale device lists when users re-join e2e rooms #4983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment