mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-22 17:22:22 -05:00
Remove postmessage experiment
This commit is contained in:
parent
93f1a30e67
commit
3ec2805cd9
@ -48,16 +48,8 @@ module.exports = function (client, app) {
|
|||||||
|
|
||||||
client.on('*', function (name, data) {
|
client.on('*', function (name, data) {
|
||||||
log(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) {
|
client.on('session:started', function (jid) {
|
||||||
me.jid = jid;
|
me.jid = jid;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user