This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/client/js/socket-events/nick.js

13 lines
224 B
JavaScript
Raw Normal View History

"use strict";
import socket from "../socket";
import store from "../store";
socket.on("nick", function (data) {
const network = store.getters.findNetwork(data.network);
if (network) {
network.nick = data.nick;
}
});