Remove postmessage experiment

This commit is contained in:
Lance Stout 2013-08-29 23:50:24 -07:00
parent 93f1a30e67
commit 3ec2805cd9
1 changed files with 0 additions and 8 deletions

View File

@ -48,16 +48,8 @@ module.exports = function (client, app) {
client.on('*', function (name, data) {
log(name, data);
if (data && data.toJSON) {
var msg = data.toJSON();
window.postMessage(JSON.stringify(msg), '*');
}
});
//client.on('disconnected', function () {
// client.connect();
//});
client.on('session:started', function (jid) {
me.jid = jid;