rewrite the messaging plugin

This commit is contained in:
Emmanuel Gil Peyrot 2017-05-27 22:12:32 +01:00
commit 6c073aca3c
2 changed files with 100 additions and 22 deletions

View file

@ -7,7 +7,7 @@ use xmpp::plugins::unhandled_iq::UnhandledIqPlugin;
use xmpp::plugins::messaging::{MessagingPlugin, MessageEvent};
use xmpp::plugins::presence::{PresencePlugin, Type};
use xmpp::plugins::ibb::IbbPlugin;
use xmpp::plugins::ping::{PingPlugin, PingEvent};
use xmpp::plugins::ping::PingPlugin;
use xmpp::event::{Priority, Propagation};
use std::env;