mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-01 13:22:29 +02:00
11 lines
209 B
TypeScript
11 lines
209 B
TypeScript
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;
|
|
}
|
|
});
|