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

Fix yields and copy instead of move push rules on room upgrade #6144

Merged
merged 3 commits into from
Oct 2, 2019

Conversation

anoadragon453
Copy link
Member

@anoadragon453 anoadragon453 commented Oct 1, 2019

Copy push rules during a room upgrade from the old room to the new room, instead of deleting them from the old room.

For instance, we've defined upgrading of a room multiple times to be possible, and push rules won't be transferred on the second upgrade if they're deleted during the first.

Also fix some missing yields that probably broke things quite a bit.

@anoadragon453 anoadragon453 self-assigned this Oct 1, 2019
@anoadragon453 anoadragon453 requested a review from a team October 1, 2019 17:15
@erikjohnston
Copy link
Member

Tests would be fab

@anoadragon453 anoadragon453 changed the title Copy instead of move push rules on room upgrade Fix yields and copy instead of move push rules on room upgrade Oct 2, 2019
@anoadragon453 anoadragon453 merged commit 2a1470c into develop Oct 2, 2019
@anoadragon453 anoadragon453 deleted the anoa/copy_dont_move branch October 2, 2019 11: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