thelounge/client/js/socket-events/msg_special.js
2019-02-12 12:48:42 +02:00

8 lines
190 B
JavaScript

"use strict";
const socket = require("../socket");
const {findChannel} = require("../vue");
socket.on("msg:special", function(data) {
findChannel(data.chan).channel.data = data.data;
});