aboutsummaryrefslogtreecommitdiffstats
path: root/filamento/src/presence.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-04-03 13:20:29 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2025-04-03 13:20:29 +0100
commitf48642bbd5a210b68e60715b59b1f24cf2d77fea (patch)
tree4316bbb8355cc1dfd66a22dde480a49e9158ec59 /filamento/src/presence.rs
parentbf00184a09418750caeb488d8d71f9dc7afd7aff (diff)
downloadluz-f48642bbd5a210b68e60715b59b1f24cf2d77fea.tar.gz
luz-f48642bbd5a210b68e60715b59b1f24cf2d77fea.tar.bz2
luz-f48642bbd5a210b68e60715b59b1f24cf2d77fea.zip
feat(filamento): caps 1.0
Diffstat (limited to 'filamento/src/presence.rs')
-rw-r--r--filamento/src/presence.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/filamento/src/presence.rs b/filamento/src/presence.rs
index bae8793..a7a8965 100644
--- a/filamento/src/presence.rs
+++ b/filamento/src/presence.rs
@@ -2,6 +2,8 @@ use chrono::{DateTime, Utc};
use sqlx::Sqlite;
use stanza::{client::presence::String1024, xep_0203::Delay};
+use crate::caps;
+
#[derive(Debug, Default, sqlx::FromRow, Clone)]
pub struct Online {
pub show: Option<Show>,
@@ -96,6 +98,7 @@ impl Online {
from: None,
stamp: timestamp,
}),
+ c: Some(caps::c()),
..Default::default()
}
}
@@ -116,6 +119,7 @@ impl Offline {
from: None,
stamp: timestamp,
}),
+ c: Some(caps::c()),
..Default::default()
}
}