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:
parent
565b8bf7e6
commit
4c8b6fe16b
@ -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);
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user