Added function to buttun friend actionBtnFriend

This commit is contained in:
NigeParis 2026-01-16 15:47:25 +01:00 committed by Maix0
parent c547c2301f
commit 95784c9719
2 changed files with 29 additions and 0 deletions

View file

@ -29,6 +29,7 @@ import { windowStateVisable } from "./chatHelperFunctions/windowStateVisable";
import { cmdList } from "./chatHelperFunctions/cmdList";
import { actionBtnTTTGames } from "./chatHelperFunctions/actionBtnTTTGames";
import { showError } from "@app/toast";
import { actionBtnFriend } from "./chatHelperFunctions/actionBtnFriend";
const MAX_SYSTEM_MESSAGES = 10;
let inviteMsgFlag: boolean = false;
@ -256,6 +257,7 @@ function initChatSocket() {
actionBtnPopUpBlock(profil, socket);
actionBtnPongGames(profil, socket);
actionBtnTTTGames(profil, socket);
actionBtnFriend(profil, socket);
});
socket.on("blockUser", (blocked: ClientProfil) => {