diff options
author | Kim Alvefur <zash@zash.se> | 2016-10-07 16:52:18 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-10-07 16:52:18 +0200 |
commit | 58686a0f39cea79956b747bd5bb4f091a67b9db9 (patch) | |
tree | 9043fbad3e9e1ac74e957347fedc8cca0a635106 /plugins/mod_carbons.lua | |
parent | a7128214ca97a884f7d191b1fcda5202819515e5 (diff) | |
parent | 92730073ce30a57c8a2dd673f239a7430845b2d4 (diff) | |
download | prosody-58686a0f39cea79956b747bd5bb4f091a67b9db9.tar.gz prosody-58686a0f39cea79956b747bd5bb4f091a67b9db9.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_carbons.lua')
-rw-r--r-- | plugins/mod_carbons.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_carbons.lua b/plugins/mod_carbons.lua index 9ef14713..951645f8 100644 --- a/plugins/mod_carbons.lua +++ b/plugins/mod_carbons.lua @@ -1,5 +1,5 @@ -- XEP-0280: Message Carbons implementation for Prosody --- Copyright (C) 2011 Kim Alvefur +-- Copyright (C) 2011-2016 Kim Alvefur -- -- This file is MIT/X11 licensed. @@ -67,7 +67,7 @@ local function message_handler(event, c2s) elseif stanza:get_child("no-copy", "urn:xmpp:hints") then module:log("debug", "Message has no-copy hint, ignoring"); return - elseif stanza:get_child("x", "http://jabber.org/protocol/muc#user") then + elseif not c2s and bare_jid == orig_from and stanza:get_child("x", "http://jabber.org/protocol/muc#user") then module:log("debug", "MUC PM, ignoring"); return end |