25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Fixing mod_carboncopy sends carbons of carbons (fixes #107)

This commit is contained in:
Badlop 2014-01-23 17:29:24 +01:00
parent 565b8bf7e6
commit 4c8b6fe16b

View File

@ -149,7 +149,7 @@ check_and_forward(JID, #xmlel{name = <<"message">>, attrs = Attrs} = Packet, Dir
<<"chat">> -> <<"chat">> ->
case xml:get_subtag(Packet, <<"private">>) of case xml:get_subtag(Packet, <<"private">>) of
false -> false ->
case xml:get_subtag(Packet,<<"forwarded">>) of case xml:get_subtag(Packet,<<"received">>) of
false -> false ->
send_copies(JID, Packet, Direction); send_copies(JID, Packet, Direction);
_ -> _ ->