aboutsummaryrefslogtreecommitdiffstats
path: root/util/rfc6724.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-03 21:06:59 +0200
committerKim Alvefur <zash@zash.se>2018-08-03 21:06:59 +0200
commit832484e723560cabab9a058ef2f8c1299ecdf4a3 (patch)
tree9cdc1a249dc7914e9ec2150d384cd6da2e5125b4 /util/rfc6724.lua
parent154e32c79d7e06de13716dadf5d26dbc3fca49ea (diff)
downloadprosody-832484e723560cabab9a058ef2f8c1299ecdf4a3.tar.gz
prosody-832484e723560cabab9a058ef2f8c1299ecdf4a3.zip
util.dataforms: Skip all fields for the 'cancel' form type
XEP-0004 says: > a data form of type "cancel" SHOULD NOT contain any <field/> elements. The title and instructions don't seem to be of much value in this case either. I'm not aware of 'cancel' being used anywhere, so this should break nothing. Early return is always nice.
Diffstat (limited to 'util/rfc6724.lua')
0 files changed, 0 insertions, 0 deletions