Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4816c379 authored by lior's avatar lior
Browse files

fix not a command

parent 956326aa
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,8 @@ async function VerifyAndExecuteDisconnectFromGroup(data, userMediaID)
}
async function ExecuteNotACommand(data, userMediaID)
{
const userState = await databaseManager.findStateByMediaID(userMediaID);
const userDatabase = await databaseManager.findUserByMediaID(userMediaID);
const userState = userDatabase.state;
if(userState === "sendingToGroup")
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment