1
0
Fork 0
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:
Evgeniy Khramtsov 2016-10-07 10:31:03 +03:00
parent 1de0bb83a0
commit 6a3691ef7c
58 changed files with 8719 additions and 1254 deletions

View file

@ -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 "