Added kickConnections to channelManager

This commit is contained in:
rainbow napkin 2024-12-01 20:48:42 -05:00
parent 0432c9d1cc
commit b138b26f27
6 changed files with 37 additions and 15 deletions

View file

@ -61,7 +61,7 @@ module.exports = class{
userDB.flair = data.flair;
userDB = await userDB.save();
const connections = this.server.getConnections(socket);
const connections = this.server.getConnections(socket.user.user);
connections.forEach((conn) => {
conn.updateFlair(userDB.flair);