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