stop propagating when we are done with a stanza

This commit is contained in:
Emmanuel Gil Peyrot 2017-05-27 17:24:24 +01:00
parent 66bf10b941
commit 967d3e3217
2 changed files with 2 additions and 2 deletions

View file

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

View file

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