Move ClientFeature to feature module
This commit is contained in:
parent
77ee7c15fa
commit
0bbc089480
2 changed files with 15 additions and 8 deletions
13
xmpp/src/feature.rs
Normal file
13
xmpp/src/feature.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Copyright (c) 2023 xmpp-rs contributors.
|
||||
//
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// 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/.
|
||||
|
||||
#[derive(PartialEq)]
|
||||
pub enum ClientFeature {
|
||||
#[cfg(feature = "avatars")]
|
||||
Avatars,
|
||||
ContactList,
|
||||
JoinRooms,
|
||||
}
|
||||
Loading…
Reference in a new issue