Software /
code /
prosody-modules
Changeset
4151:fa79d19d0fdd
mod_cloud_notify: fix comment text
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Wed, 23 Sep 2020 19:55:46 +0200 |
parents | 4150:d3d2e9e7e8b7 |
children | 4153:4ee2a90d3818 4155:308b92b07da6 |
files | mod_cloud_notify/mod_cloud_notify.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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