fix: missing Peer ops in categorizeReactions

main
Avraham Sakal 2 years ago
parent 5d38f5740c
commit 5ef872cf7d

@ -185,7 +185,7 @@ function categorizeReactions<C>(reactions:Array<Reaction_T<C>>) : {sideEffects:A
else if(reaction.type === 'ContextMutation'){ else if(reaction.type === 'ContextMutation'){
contextMutations.push(reaction); contextMutations.push(reaction);
} }
else if(reaction.type === 'SetPeer'){ else if(reaction.type === 'SetPeer' || reaction.type === 'SetPeers' || reaction.type === 'AddPeers'){
peerings.push(reaction); peerings.push(reaction);
} }
else if(reaction.type === 'Goto'){ else if(reaction.type === 'Goto'){

Loading…
Cancel
Save