aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_json_spec.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-06-28 01:46:28 +0200
committerKim Alvefur <zash@zash.se>2018-06-28 01:46:28 +0200
commitfd8a2e2de4775b74e9f62c4ab6637a63511e075c (patch)
treeebeaf4b642264a35c3658465c034274fc42098aa /spec/util_json_spec.lua
parentcecc562ac0f755a234fb82848a388354b0e14989 (diff)
downloadprosody-fd8a2e2de4775b74e9f62c4ab6637a63511e075c.tar.gz
prosody-fd8a2e2de4775b74e9f62c4ab6637a63511e075c.zip
mod_pubsub: Handle optional item (thanks jonasw)
The ‘item’ argument is optional, so it needs to handle it not being included, or util.stanza will throw an error in add_child
Diffstat (limited to 'spec/util_json_spec.lua')
0 files changed, 0 insertions, 0 deletions