stop propagating when we are done with a stanza

Emmanuel Gil Peyrot created

Change summary

src/plugins/ping.rs   | 2 +-
src/plugins/stanza.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

src/plugins/ping.rs 🔗

@@ -51,7 +51,7 @@ impl PingPlugin {
                 });
             }
         }
-        Propagation::Continue
+        Propagation::Stop
     }
 
     fn reply_ping(&self, ping: &PingEvent) -> Propagation {

src/plugins/stanza.rs 🔗

@@ -40,7 +40,7 @@ impl StanzaPlugin {
             self.proxy.dispatch(iq);
         }
 
-        Propagation::Continue
+        Propagation::Stop
     }
 }