Skip to content
Snippets Groups Projects
  • Andrew Morgan's avatar
    2a1470cd
    Fix yields and copy instead of move push rules on room upgrade (#6144) · 2a1470cd
    Andrew Morgan authored
    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.
    Fix yields and copy instead of move push rules on room upgrade (#6144)
    Andrew Morgan authored
    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.