From 6b7a83c9f337577c14c23cf5d94410c3752ae80f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 21 Jun 2010 23:16:34 +0200 Subject: Don't push full JIDs in roster updates --- src/core/ephraim_roster.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/ephraim_roster.erl b/src/core/ephraim_roster.erl index 4f8dfef..678a8c3 100644 --- a/src/core/ephraim_roster.erl +++ b/src/core/ephraim_roster.erl @@ -46,7 +46,7 @@ updateResource(Roster, JID, Priority, Type, Show, Status) -> if RosterEntry#roster_entry.subscription =:= undefined -> ok; true -> - ephraim ! {ui_update, {roster_update, JID, dict:to_list(Resources)}} + ephraim ! {ui_update, {roster_update, BareJID, dict:to_list(Resources)}} end, Roster#roster{entries=Entries}. -- cgit v1.2.3