fix: missing Peer ops in categorizeReactions

This commit is contained in:
Avraham Sakal
2023-05-18 12:23:52 -04:00
parent 5d38f5740c
commit 5ef872cf7d
+1 -1
View File
@@ -185,7 +185,7 @@ function categorizeReactions<C>(reactions:Array<Reaction_T<C>>) : {sideEffects:A
else if(reaction.type === 'ContextMutation'){
contextMutations.push(reaction);
}
else if(reaction.type === 'SetPeer'){
else if(reaction.type === 'SetPeer' || reaction.type === 'SetPeers' || reaction.type === 'AddPeers'){
peerings.push(reaction);
}
else if(reaction.type === 'Goto'){