Commit 97dade10 authored by JC Brand's avatar JC Brand

Initial work on #1038

parent a15c9e54
This diff is collapsed.
......@@ -87,6 +87,7 @@ require.config({
"converse-otr": "src/converse-otr",
"converse-ping": "src/converse-ping",
"converse-profile": "src/converse-profile",
"converse-pubsub": "src/converse-pubsub",
"converse-register": "src/converse-register",
"converse-roomslist": "src/converse-roomslist",
"converse-rosterview": "src/converse-rosterview",
......
This diff is collapsed.
......@@ -91,6 +91,7 @@
'converse-otr',
'converse-ping',
'converse-profile',
'converse-pubsub',
'converse-register',
'converse-roomslist',
'converse-rosterview',
......@@ -1571,9 +1572,11 @@
};
if (this.debug) {
this.connection.xmlInput = function (body) {
console.log(body);
_converse.log(body.outerHTML, Strophe.LogLevel.DEBUG, 'color: darkgoldenrod');
};
this.connection.xmlOutput = function (body) {
console.log(body);
_converse.log(body.outerHTML, Strophe.LogLevel.DEBUG, 'color: darkcyan');
};
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment