From 3d53baf12835d93473182fa7fcbf98033f61ea53 Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Mon, 18 Jan 2021 08:52:46 +0100 Subject: [PATCH] Impl MessagePayload for PubSubEvent --- xmpp-parsers/src/pubsub/event.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xmpp-parsers/src/pubsub/event.rs b/xmpp-parsers/src/pubsub/event.rs index 386760eb..6ad2bc9d 100644 --- a/xmpp-parsers/src/pubsub/event.rs +++ b/xmpp-parsers/src/pubsub/event.rs @@ -6,6 +6,7 @@ use crate::data_forms::DataForm; use crate::date::DateTime; +use crate::message::MessagePayload; use crate::ns; use crate::pubsub::{Item as PubSubItem, ItemId, NodeName, Subscription, SubscriptionId}; use crate::util::error::Error; @@ -241,6 +242,8 @@ impl From for Element { } } +impl MessagePayload for PubSubEvent {} + #[cfg(test)] mod tests { use super::*;