From a20742c57995b3dc4cc264585ab3b79ca142261b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 23 Jun 2010 03:38:37 +0200 Subject: Show resource in tooltip --- src/core/ephraim_roster.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/ephraim_roster.erl b/src/core/ephraim_roster.erl index 6360a34..9cc91f8 100644 --- a/src/core/ephraim_roster.erl +++ b/src/core/ephraim_roster.erl @@ -47,7 +47,8 @@ updateResource(Roster, JID, Priority, Type, Show, Status) -> if RosterEntry#roster_entry.subscription =:= undefined -> ok; true -> - ephraim ! {ui_update, {roster_update, BareJID, dict:to_list(Resources)}} + ephraim ! {ui_update, {roster_update, BareJID, RosterEntry#roster_entry.name, RosterEntry#roster_entry.subscription, + sets:to_list(RosterEntry#roster_entry.groups), dict:to_list(Resources)}} end, Roster#roster{entries=Entries}. -- cgit v1.2.3