mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Fixing mod_carboncopy sends carbons of carbons (fixes #107)
This commit is contained in:
parent
565b8bf7e6
commit
4c8b6fe16b
@ -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);
|
||||
_ ->
|
||||
|
Loading…
Reference in New Issue
Block a user