Fix unused variable warnings when avatars disabled
This commit is contained in:
parent
25274e2f11
commit
1ce8145a7d
2 changed files with 9 additions and 4 deletions
|
|
@ -4,7 +4,9 @@
|
|||
// 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 tokio_xmpp::parsers::{bookmarks2, message::Body, roster::Item as RosterItem, BareJid, Jid};
|
||||
#[cfg(feature = "avatars")]
|
||||
use tokio_xmpp::parsers::Jid;
|
||||
use tokio_xmpp::parsers::{bookmarks2, message::Body, roster::Item as RosterItem, BareJid};
|
||||
|
||||
use crate::{delay::StanzaTimeInfo, Error, Id, RoomNick};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue