mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Add xdata generator and make some code using it
This commit is contained in:
parent
1de0bb83a0
commit
6a3691ef7c
58 changed files with 8719 additions and 1254 deletions
|
@ -901,7 +901,7 @@ first_in_list(Pred, [H | T]) ->
|
|||
|
||||
itemids(Nidx, {_U, _S, _R} = JID) ->
|
||||
SJID = encode_jid(JID),
|
||||
SJIDLike = <<(ejabberd_sql:escape(encode_jid_like(JID)))/binary, "/%">>,
|
||||
SJIDLike = <<(encode_jid_like(JID))/binary, "/%">>,
|
||||
case catch
|
||||
ejabberd_sql:sql_query_t(
|
||||
?SQL("select @(itemid)s from pubsub_item where "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue