Software /
code /
prosody-modules
Changeset
1794:eefe4b69b5f6
mod_carbons: Stanza, not standard, silly autocomplete (Thanks mt)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 27 Aug 2015 12:16:39 +0200 |
parents | 1793:152439ca92ee |
children | 1795:91c01ef82807 |
files | mod_carbons/mod_carbons.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_carbons/mod_carbons.lua Thu Aug 27 12:14:40 2015 +0200 +++ b/mod_carbons/mod_carbons.lua Thu Aug 27 12:16:39 2015 +0200 @@ -32,7 +32,7 @@ local orig_from = stanza.attr.from; local orig_to = stanza.attr.to; - if not(orig_type == "chat" or orig_type == "normal" and standard:get_child("body")) then + if not(orig_type == "chat" or orig_type == "normal" and stanza:get_child("body")) then return -- Only chat type messages end