# HG changeset patch # User Kim Alvefur # Date 1440670599 -7200 # Node ID eefe4b69b5f62d38f4c1781e58918ff73574cc0a # Parent 152439ca92ee7efe1e7c40b82102e0a94f55a7a2 mod_carbons: Stanza, not standard, silly autocomplete (Thanks mt) diff -r 152439ca92ee -r eefe4b69b5f6 mod_carbons/mod_carbons.lua --- 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