summaryrefslogtreecommitdiff
path: root/src/mod_carboncopy.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2014-01-23 17:29:24 +0100
committerBadlop <badlop@process-one.net>2014-01-23 17:29:24 +0100
commit4c8b6fe16b431f29498898e4e684ae2c23f12d79 (patch)
treeab4f7121cadbd6891286e3605389413cb7c480ed /src/mod_carboncopy.erl
parentMerge pull request #134 from mrjameshamilton/patch-1 (diff)
Fixing mod_carboncopy sends carbons of carbons (fixes #107)
Diffstat (limited to 'src/mod_carboncopy.erl')
-rw-r--r--src/mod_carboncopy.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_carboncopy.erl b/src/mod_carboncopy.erl
index 087d090c..cc5cb83b 100644
--- a/src/mod_carboncopy.erl
+++ b/src/mod_carboncopy.erl
@@ -149,7 +149,7 @@ check_and_forward(JID, #xmlel{name = <<"message">>, attrs = Attrs} = Packet, Dir
<<"chat">> ->
case xml:get_subtag(Packet, <<"private">>) of
false ->
- case xml:get_subtag(Packet,<<"forwarded">>) of
+ case xml:get_subtag(Packet,<<"received">>) of
false ->
send_copies(JID, Packet, Direction);
_ ->