eme: Fix indentation.
This commit is contained in:
parent
07cccad356
commit
fbe22e6db1
1 changed files with 10 additions and 9 deletions
19
src/eme.rs
19
src/eme.rs
|
|
@ -7,16 +7,17 @@
|
||||||
use message::MessagePayload;
|
use message::MessagePayload;
|
||||||
|
|
||||||
generate_element!(
|
generate_element!(
|
||||||
/// Structure representing an `<encryption xmlns='urn:xmpp:eme:0'/>` element.
|
/// Structure representing an `<encryption xmlns='urn:xmpp:eme:0'/>` element.
|
||||||
ExplicitMessageEncryption, "encryption", EME,
|
ExplicitMessageEncryption, "encryption", EME,
|
||||||
attributes: [
|
attributes: [
|
||||||
/// Namespace of the encryption scheme used.
|
/// Namespace of the encryption scheme used.
|
||||||
namespace: String = "namespace" => required,
|
namespace: String = "namespace" => required,
|
||||||
|
|
||||||
/// User-friendly name for the encryption scheme, should be `None` for OTR,
|
/// User-friendly name for the encryption scheme, should be `None` for OTR,
|
||||||
/// legacy OpenPGP and OX.
|
/// legacy OpenPGP and OX.
|
||||||
name: Option<String> = "name" => optional,
|
name: Option<String> = "name" => optional,
|
||||||
]);
|
]
|
||||||
|
);
|
||||||
|
|
||||||
impl MessagePayload for ExplicitMessageEncryption {}
|
impl MessagePayload for ExplicitMessageEncryption {}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue