summaryrefslogtreecommitdiff
path: root/src/mod_roster.erl
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2003-10-30 14:38:38 +0000
committerAlexey Shchepin <alexey@process-one.net>2003-10-30 14:38:38 +0000
commit23228732ec25e645af5860764c18f468cc50895d (patch)
treec9becf8a9299ec22f67f81be6826193dcb77c14f /src/mod_roster.erl
parent* src/ejabberd_listener.erl: Fixed starting of SSL connection (diff)
* src/ejabberd_c2s.erl: More strong check for authentificated JID
* src/mod_roster.erl: Bugfix SVN Revision: 165
Diffstat (limited to '')
-rw-r--r--src/mod_roster.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_roster.erl b/src/mod_roster.erl
index 234df7ce..0a8bc51a 100644
--- a/src/mod_roster.erl
+++ b/src/mod_roster.erl
@@ -415,7 +415,7 @@ in_subscription(User, From, Type) ->
{atomic, false} ->
false;
{atomic, {update, Presence, Item}} ->
- ejabberd_router:route({User, ?MYNAME, ""},
+ ejabberd_router:route(jlib:make_jid(User, ?MYNAME, ""),
jlib:jid_replace_resource(From, ""),
Presence),
ejabberd_sm ! {route,