2018-07-10 05:16:24 -04:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
const socket = require("../socket");
|
2018-07-10 05:37:48 -04:00
|
|
|
const {findChannel} = require("../vue");
|
2018-07-10 05:16:24 -04:00
|
|
|
|
|
|
|
socket.on("msg:special", function(data) {
|
2018-07-10 05:37:48 -04:00
|
|
|
findChannel(data.chan).channel.data = data.data;
|
2018-07-10 05:16:24 -04:00
|
|
|
});
|