aboutsummaryrefslogtreecommitdiffstats
path: root/filamento/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-04-11 05:53:06 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2025-04-11 05:53:06 +0100
commite49b4e5ea59079fdf047d3d2eb63ddb895c3b0eb (patch)
tree31f2d1c5efc0ba7a373f2909f0cb1e6a7e1e718a /filamento/src/lib.rs
parentd4afee032d5b4e491e5873cab4ed78c80fafe164 (diff)
downloadluz-e49b4e5ea59079fdf047d3d2eb63ddb895c3b0eb.tar.gz
luz-e49b4e5ea59079fdf047d3d2eb63ddb895c3b0eb.tar.bz2
luz-e49b4e5ea59079fdf047d3d2eb63ddb895c3b0eb.zip
feat(filamento): return `User` with `Contact` on roster push
Diffstat (limited to 'filamento/src/lib.rs')
-rw-r--r--filamento/src/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/filamento/src/lib.rs b/filamento/src/lib.rs
index 7bcf593..974901c 100644
--- a/filamento/src/lib.rs
+++ b/filamento/src/lib.rs
@@ -154,11 +154,8 @@ pub enum Command<Fs: FileStore> {
pub enum UpdateMessage {
Online(Online, Vec<(Contact, User)>),
Offline(Offline),
- /// received roster from jabber server (replace full app roster state with this)
- /// is this needed?
- FullRoster(Vec<Contact>),
/// (only update app roster state, don't replace)
- RosterUpdate(Contact),
+ RosterUpdate(Contact, User),
RosterDelete(JID),
/// presences should be stored with users in the ui, not contacts, as presences can be received from anyone
Presence {