Added notification state sign and cmd @help

This commit is contained in:
NigeParis 2026-01-02 12:56:27 +01:00 committed by Maix0
parent 2ed524872b
commit b8b4bbd1cb
3 changed files with 36 additions and 1 deletions

View file

@ -39,5 +39,24 @@ export async function makeProfil(fastify: FastifyInstance, user: string, socket:
innerHtml: '',
};
}
else {
clientProfil =
{
command: 'makeProfil',
destination: 'profilMsg',
type: 'chat' as const,
user: user,
loginName: 'Not Found',
userID: 'Not Found',
text: 'Not Found',
timestamp: Date.now(),
SenderWindowID: socket.id,
SenderName: '',
Sendertext: '',
SenderID: '',
innerHtml: '',
};
}
return clientProfil;
};