xmpp: Common structure for imports

This commit is contained in:
xmppftw xmppftw 2024-12-18 19:14:02 +01:00
commit b8f74e6bce
4 changed files with 14 additions and 15 deletions

View file

@ -5,9 +5,9 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use crate::{
jid::{BareJid, Jid},
message::send::RawMessageSettings,
parsers::{message::MessageType, muc::user::MucUser},
tokio_xmpp::jid::{BareJid, Jid},
Agent, RoomNick,
};

View file

@ -4,18 +4,17 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use crate::parsers::message::MessageType;
use tokio_xmpp::{
use crate::{
jid::{BareJid, ResourcePart, ResourceRef},
message::send::RawMessageSettings,
parsers::{
message::MessageType,
muc::Muc,
presence::{Presence, Type as PresenceType},
},
Agent,
};
use crate::message::send::RawMessageSettings;
use crate::Agent;
#[derive(Clone, Debug)]
pub struct JoinRoomSettings<'a> {
pub room: BareJid,