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({ ...@@ -87,6 +87,7 @@ require.config({
"converse-otr": "src/converse-otr", "converse-otr": "src/converse-otr",
"converse-ping": "src/converse-ping", "converse-ping": "src/converse-ping",
"converse-profile": "src/converse-profile", "converse-profile": "src/converse-profile",
"converse-pubsub": "src/converse-pubsub",
"converse-register": "src/converse-register", "converse-register": "src/converse-register",
"converse-roomslist": "src/converse-roomslist", "converse-roomslist": "src/converse-roomslist",
"converse-rosterview": "src/converse-rosterview", "converse-rosterview": "src/converse-rosterview",
......
This diff is collapsed.
...@@ -91,6 +91,7 @@ ...@@ -91,6 +91,7 @@
'converse-otr', 'converse-otr',
'converse-ping', 'converse-ping',
'converse-profile', 'converse-profile',
'converse-pubsub',
'converse-register', 'converse-register',
'converse-roomslist', 'converse-roomslist',
'converse-rosterview', 'converse-rosterview',
...@@ -1571,9 +1572,11 @@ ...@@ -1571,9 +1572,11 @@
}; };
if (this.debug) { if (this.debug) {
this.connection.xmlInput = function (body) { this.connection.xmlInput = function (body) {
console.log(body);
_converse.log(body.outerHTML, Strophe.LogLevel.DEBUG, 'color: darkgoldenrod'); _converse.log(body.outerHTML, Strophe.LogLevel.DEBUG, 'color: darkgoldenrod');
}; };
this.connection.xmlOutput = function (body) { this.connection.xmlOutput = function (body) {
console.log(body);
_converse.log(body.outerHTML, Strophe.LogLevel.DEBUG, 'color: darkcyan'); _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