aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_regexp.erl
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-05-12 19:20:25 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-05-12 19:20:25 +0200
commitf6da708b02bfe147a2d9ae7bd18db2a0ee702ad9 (patch)
treebab184a8b4d82c61809dbbc4a33143eb374ad791 /src/ejabberd_regexp.erl
parentMerge pull request #209 from weiss/rename-disconnect-user (diff)
XEP-0198: Check whether routed packets are stanzas
Only stanzas are subject to stream management, so when XEP-0198 support is enabled, we must distinguish them from non-stanza elements. This commit adds a send_packet/2 function that can be used in place of send_stanza/2 or send_element/2 whenever a packet is delivered that might or might not be a stanza.
Diffstat (limited to 'src/ejabberd_regexp.erl')
0 files changed, 0 insertions, 0 deletions