mirror of
https://github.com/thelounge/thelounge
synced 2024-11-25 13:30:21 +00:00
12 lines
223 B
JavaScript
12 lines
223 B
JavaScript
"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;
|
|
}
|
|
});
|