Merge branch 'agent-clone' into 'master'

Agent clone

See merge request linkmauve/xmpp-rs!4
This commit is contained in:
linkmauve 2019-09-12 19:38:18 +00:00
commit c17d43b685

View file

@ -345,6 +345,7 @@ impl ClientBuilder<'_> {
} }
} }
#[derive(Clone)]
pub struct Agent { pub struct Agent {
sender_tx: mpsc::UnboundedSender<Packet>, sender_tx: mpsc::UnboundedSender<Packet>,
default_nick: Rc<RefCell<String>>, default_nick: Rc<RefCell<String>>,