ZDGCVSXJL7OKUEVXOQAOLS3A3QYY7NN5BFFZWTABKXI7G3R74JAAC
/// outgoing mailbox
outgoing_mailbox: HashMap<xmpp_parsers::BareJid, Vec<(String, xmpp_parsers::Jid)>>,
/// outgoing mailbox: bare jid to message, fulljid, id
outgoing_mailbox: HashMap<xmpp_parsers::BareJid, Vec<(String, xmpp_parsers::Jid, String)>>,
self.state.data.send_queue.extend(
mailbox
.drain(..)
.map(|message| stanzas::make_chat_message(message.1, message.0)),
);
self.state
.data
.send_queue
.extend(mailbox.drain(..).map(|message| {
stanzas::make_chat_message(message.2, message.1, message.0)
}));
self.state.data.send_queue.extend(
mailbox
.drain(..)
.map(|message| stanzas::make_chat_message(message.1, message.0)),
);
self.state
.data
.send_queue
.extend(mailbox.drain(..).map(|message| {
stanzas::make_chat_message(message.2, message.1, message.0)
}));