25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

* src/mod_roster.erl: Bugfix

SVN Revision: 219
This commit is contained in:
Alexey Shchepin 2004-03-16 21:09:11 +00:00
parent 90e48213e0
commit 9e3c4edd1d
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2004-03-16 Alexey Shchepin <alexey@sevcom.net>
* src/mod_roster.erl: Bugfix
* src/ejabberd_s2s.erl: More verbose error handling
2004-03-15 Alexey Shchepin <alexey@sevcom.net>

View File

@ -404,12 +404,12 @@ process_subscription(Direction, User, JID1, Type) ->
unsubscribed -> "unsubscribed"
end,
ejabberd_router:route(
{User, ?MYNAME, ""}, JID1,
jlib:make_jid(User, ?MYNAME, ""), JID1,
{xmlelement, "presence", [{"type", T}], []})
end,
case Push of
{push, Item} ->
push_item(User, {"", ?MYNAME, ""}, Item),
push_item(User, jlib:make_jid("", ?MYNAME, ""), Item),
true;
none ->
false