aboutsummaryrefslogtreecommitdiffstats
path: root/stanza/src/xep_0390.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stanza/src/xep_0390.rs')
-rw-r--r--stanza/src/xep_0390.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stanza/src/xep_0390.rs b/stanza/src/xep_0390.rs
index a05a659..bcd331d 100644
--- a/stanza/src/xep_0390.rs
+++ b/stanza/src/xep_0390.rs
@@ -8,7 +8,7 @@ pub const XMLNS: &str = "urn:xmpp:caps";
// TODO: have a vec which guarantees at least one item
#[derive(Debug, Clone)]
-pub struct C(Vec<Hash>);
+pub struct C(pub Vec<Hash>);
impl FromElement for C {
fn from_element(mut element: Element) -> peanuts::element::DeserializeResult<Self> {