mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
stop propagating when we are done with a stanza
This commit is contained in:
parent
66bf10b941
commit
967d3e3217
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ impl PingPlugin {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Propagation::Continue
|
Propagation::Stop
|
||||||
}
|
}
|
||||||
|
|
||||||
fn reply_ping(&self, ping: &PingEvent) -> Propagation {
|
fn reply_ping(&self, ping: &PingEvent) -> Propagation {
|
||||||
|
|
|
@ -40,7 +40,7 @@ impl StanzaPlugin {
|
||||||
self.proxy.dispatch(iq);
|
self.proxy.dispatch(iq);
|
||||||
}
|
}
|
||||||
|
|
||||||
Propagation::Continue
|
Propagation::Stop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue