mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
* src/mod_pubsub/mod_pubsub.erl (create_new_node): Bugfix
SVN Revision: 127
This commit is contained in:
parent
28c0fee27b
commit
f91e46ad8d
@ -1,3 +1,7 @@
|
|||||||
|
2003-07-27 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
|
* src/mod_pubsub/mod_pubsub.erl (create_new_node): Bugfix
|
||||||
|
|
||||||
2003-07-21 Alexey Shchepin <alexey@sevcom.net>
|
2003-07-21 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
* src/mod_vcard.erl: Bugfix
|
* src/mod_vcard.erl: Bugfix
|
||||||
|
@ -455,13 +455,9 @@ create_new_node(Host, Node, Owner) ->
|
|||||||
[] ->
|
[] ->
|
||||||
{LOU, LOS, _} = jlib:jid_tolower(Owner),
|
{LOU, LOS, _} = jlib:jid_tolower(Owner),
|
||||||
HomeNode = ["home", LOS, LOU],
|
HomeNode = ["home", LOS, LOU],
|
||||||
case create_new_node(Host, HomeNode, Owner) of
|
create_new_node(Host, HomeNode, Owner),
|
||||||
{error, _} = Error ->
|
|
||||||
Error;
|
|
||||||
_ ->
|
|
||||||
NewNode = ["home", LOS, LOU, randoms:get_string()],
|
NewNode = ["home", LOS, LOU, randoms:get_string()],
|
||||||
create_new_node(Host, NewNode, Owner)
|
create_new_node(Host, NewNode, Owner);
|
||||||
end;
|
|
||||||
_ ->
|
_ ->
|
||||||
LOwner = jlib:jid_tolower(jlib:jid_remove_resource(Owner)),
|
LOwner = jlib:jid_tolower(jlib:jid_remove_resource(Owner)),
|
||||||
Parent = lists:sublist(Node, length(Node) - 1),
|
Parent = lists:sublist(Node, length(Node) - 1),
|
||||||
|
Loading…
Reference in New Issue
Block a user