Software /
code /
prosody-modules
Diff
mod_carbons/mod_carbons.lua @ 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 |
parent | 1789:dbce8a7726ef |
child | 1795:91c01ef82807 |
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