From e49b4e5ea59079fdf047d3d2eb63ddb895c3b0eb Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Fri, 11 Apr 2025 05:53:06 +0100 Subject: feat(filamento): return `User` with `Contact` on roster push --- filamento/src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'filamento/src/lib.rs') 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 { 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), /// (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 { -- cgit