Commit bd576c74 authored by JC Brand's avatar JC Brand

Fix. Looks like it's better to have it a function.

parent 3815d77c
......@@ -26,7 +26,9 @@
converse.initialize(settings, callback);
},
'connection': {
'connected': converse.connection.connected,
'connected': function () {
return converse.connection && converse.connection.connected || false;
},
'disconnect': function () {
converse.connection.disconnect();
},
......
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