aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJanusz Dziemidowicz <rraptorr@nails.eu.org>2013-04-09 23:21:06 +0200
committerJanusz Dziemidowicz <rraptorr@nails.eu.org>2013-04-09 23:21:06 +0200
commit74808b25a1b978fb884e6d39ca80f9295e7671cb (patch)
tree74ada46fca335845a25e0904f35b58ad92ab8b43 /src
parentDon't overwrite inetrc when installing (thanks to skeltoac) (diff)
Change message type of carbon copies from 'chart' to 'chat'
Diffstat (limited to 'src')
-rw-r--r--src/mod_carboncopy.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_carboncopy.erl b/src/mod_carboncopy.erl
index 4f4dfbe84..b868aa022 100644
--- a/src/mod_carboncopy.erl
+++ b/src/mod_carboncopy.erl
@@ -193,7 +193,7 @@ send_copies(JID, Packet, Direction)->
build_forward_packet(JID, Packet, Sender, Dest, Direction, ?NS_CC_2) ->
#xmlel{name = <<"message">>,
attrs = [{<<"xmlns">>, <<"jabber:client">>},
- {<<"type">>, <<"chart">>},
+ {<<"type">>, <<"chat">>},
{<<"from">>, jlib:jid_to_string(Sender)},
{<<"to">>, jlib:jid_to_string(Dest)}],
children = [
@@ -209,7 +209,7 @@ build_forward_packet(JID, Packet, Sender, Dest, Direction, ?NS_CC_2) ->
build_forward_packet(JID, Packet, Sender, Dest, Direction, ?NS_CC_1) ->
#xmlel{name = <<"message">>,
attrs = [{<<"xmlns">>, <<"jabber:client">>},
- {<<"type">>, <<"chart">>},
+ {<<"type">>, <<"chat">>},
{<<"from">>, jlib:jid_to_string(Sender)},
{<<"to">>, jlib:jid_to_string(Dest)}],
children = [