# HG changeset patch # User tmolitor # Date 1600883746 -7200 # Node ID fa79d19d0fddf727afd9a03a0c17473232a5af0a # Parent d3d2e9e7e8b7584e348b74d941478839aa96b217 mod_cloud_notify: fix comment text diff -r d3d2e9e7e8b7 -r fa79d19d0fdd mod_cloud_notify/mod_cloud_notify.lua --- a/mod_cloud_notify/mod_cloud_notify.lua Mon Sep 21 21:56:46 2020 +0200 +++ b/mod_cloud_notify/mod_cloud_notify.lua Wed Sep 23 19:55:46 2020 +0200 @@ -257,7 +257,7 @@ local stanza_direction = "in"; local carbon; local st_type; - -- support carbon copied message stanzas having an arbitrary message-namespace or no message-namespace at all + -- support carbon copied message stanzas if not carbon then carbon = stanza:find("{urn:xmpp:carbons:2}/{urn:xmpp:forward:0}/{jabber:client}message"); end stanza_direction = carbon and stanza:child_with_name("sent") and "out" or "in"; if carbon then stanza = carbon; end