mirror of
https://github.com/processone/ejabberd
synced 2025-10-06 03:50:15 +02:00
Fix Xref from 5dcc97c
This commit is contained in:
parent
1274bcdba9
commit
96c0483533
1 changed files with 2 additions and 2 deletions
|
@ -3933,7 +3933,7 @@ export(_Server) ->
|
||||||
owners = Owners,
|
owners = Owners,
|
||||||
options = Options}) ->
|
options = Options}) ->
|
||||||
HOST = case Hostid of
|
HOST = case Hostid of
|
||||||
{U,S,R} -> ejabberd_sql:escape(jlib:jid_to_string({U,S,R}));
|
{U,S,R} -> ejabberd_sql:escape(jid:encode({U,S,R}));
|
||||||
_ -> ejabberd_sql:escape(Hostid)
|
_ -> ejabberd_sql:escape(Hostid)
|
||||||
end,
|
end,
|
||||||
NODE = ejabberd_sql:escape(Nodeid),
|
NODE = ejabberd_sql:escape(Nodeid),
|
||||||
|
@ -3949,7 +3949,7 @@ export(_Server) ->
|
||||||
io_lib:format("~p", [Val]), "');\n"] || {Name,Val} <- Options],
|
io_lib:format("~p", [Val]), "');\n"] || {Name,Val} <- Options],
|
||||||
?SQL("delete from pubsub_node_owner where nodeid=%(Id)d;"),
|
?SQL("delete from pubsub_node_owner where nodeid=%(Id)d;"),
|
||||||
[["insert into pubsub_node_owner(nodeid,owner)\n"
|
[["insert into pubsub_node_owner(nodeid,owner)\n"
|
||||||
" values (", IdB, ", '", jlib:jid_to_string(Usr), "');\n"] || Usr <- Owners],"\n"];
|
" values (", IdB, ", '", jid:encode(Usr), "');\n"] || Usr <- Owners],"\n"];
|
||||||
(_Host, _R) ->
|
(_Host, _R) ->
|
||||||
[]
|
[]
|
||||||
end}].
|
end}].
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue