diff --git a/parsers/src/presence.rs b/parsers/src/presence.rs index 31e60965..6ea5a847 100644 --- a/parsers/src/presence.rs +++ b/parsers/src/presence.rs @@ -147,7 +147,7 @@ impl IntoAttributeValue for Type { } /// The main structure representing the `` stanza. -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub struct Presence { /// The sender of this presence. pub from: Option,