mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-12 21:52:07 +02:00
* src/mod_roster.erl: Bugfix
SVN Revision: 219
This commit is contained in:
parent
90e48213e0
commit
9e3c4edd1d
|
@ -1,5 +1,7 @@
|
||||||
2004-03-16 Alexey Shchepin <alexey@sevcom.net>
|
2004-03-16 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
|
* src/mod_roster.erl: Bugfix
|
||||||
|
|
||||||
* src/ejabberd_s2s.erl: More verbose error handling
|
* src/ejabberd_s2s.erl: More verbose error handling
|
||||||
|
|
||||||
2004-03-15 Alexey Shchepin <alexey@sevcom.net>
|
2004-03-15 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
|
@ -404,12 +404,12 @@ process_subscription(Direction, User, JID1, Type) ->
|
||||||
unsubscribed -> "unsubscribed"
|
unsubscribed -> "unsubscribed"
|
||||||
end,
|
end,
|
||||||
ejabberd_router:route(
|
ejabberd_router:route(
|
||||||
{User, ?MYNAME, ""}, JID1,
|
jlib:make_jid(User, ?MYNAME, ""), JID1,
|
||||||
{xmlelement, "presence", [{"type", T}], []})
|
{xmlelement, "presence", [{"type", T}], []})
|
||||||
end,
|
end,
|
||||||
case Push of
|
case Push of
|
||||||
{push, Item} ->
|
{push, Item} ->
|
||||||
push_item(User, {"", ?MYNAME, ""}, Item),
|
push_item(User, jlib:make_jid("", ?MYNAME, ""), Item),
|
||||||
true;
|
true;
|
||||||
none ->
|
none ->
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user