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

When updating a stored event from outlier to non-outlier, remember to update the extremeties #281

Merged
merged 2 commits into from
Sep 15, 2015

Conversation

erikjohnston
Copy link
Member

This fixes: https://matrix.org/jira/browse/SYN-392

Summary: Three users A¹, A² and B¹ are on servers A and B. If A¹ and B¹ are in a room and B¹ invites A², then A² is unable to join.

@@ -303,6 +303,9 @@ def _handle_mult_prev_events(self, txn, events):
],
)

self._update_extremeties(txn, events)

def _update_extremeties(self, txn, events):
events_by_room = {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have a some documentation for what this method does?

@NegativeMjark
Copy link
Contributor

LGTM

erikjohnston added a commit that referenced this pull request Sep 15, 2015
When updating a stored event from outlier to non-outlier, remember to update the extremeties
@erikjohnston erikjohnston merged commit 2048388 into develop Sep 15, 2015
@erikjohnston erikjohnston deleted the erikj/update_extremeties branch November 19, 2015 16:33
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