eme: Fix indentation.

This commit is contained in:
Emmanuel Gil Peyrot 2018-09-20 20:58:53 +02:00
commit fbe22e6db1

View file

@ -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 {}