CoderDojo / community-platform

Zen, the CoderDojo Community Platform!
https://zen.coderdojo.com
MIT License
121 stars 55 forks source link

Parent2 should be asked to join parent1's dojos when accepting to share a kid #1191

Open Wardormeur opened 7 years ago

Wardormeur commented 7 years ago

When parent1 and parent2 are sharing a kid and when we check for parents of their kid and the context is the dojo (ie: ticket accepted), we need to check if the parent itself is a part of the dojo before sending the notification. It makes sense in those scenario to also invite the newly invited (to the family) parent (parent2) into the same dojo than the original kid's parent (parent1) so that both of them are notified.