summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-06-21 23:16:34 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-06-21 23:16:34 +0200
commit6b7a83c9f337577c14c23cf5d94410c3752ae80f (patch)
tree6b6acb8ae50f29456ade892938281a786c9be3ba
parentb9145a8161071bee25c6c1c026fbc2381bdfa0bb (diff)
downloadephraim-6b7a83c9f337577c14c23cf5d94410c3752ae80f.tar
ephraim-6b7a83c9f337577c14c23cf5d94410c3752ae80f.zip
Don't push full JIDs in roster updates
-rw-r--r--src/core/ephraim_roster.erl2
1 files changed, 1 insertions, 1 deletions
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}.