summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-06-23 03:38:37 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-06-23 03:38:37 +0200
commita20742c57995b3dc4cc264585ab3b79ca142261b (patch)
tree982a8e5ebc73576188d3e72d045eda0f74a28910 /src/core
parent942602b35337c5df91f61001e46970c59ddcfc15 (diff)
downloadephraim-a20742c57995b3dc4cc264585ab3b79ca142261b.tar
ephraim-a20742c57995b3dc4cc264585ab3b79ca142261b.zip
Show resource in tooltip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ephraim_roster.erl3
1 files changed, 2 insertions, 1 deletions
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}.