Added function to buttun friend actionBtnFriend
This commit is contained in:
parent
c547c2301f
commit
95784c9719
2 changed files with 29 additions and 0 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue