Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 956326aa authored by lior's avatar lior
Browse files

fix wrong query call in Executeopensession

parent 6b69d9e3
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ async function ExecuteOpenSessionToGroup(data, targetGroupID, userMediaID)
{
const targetGroup = await databaseManager.findGroupByGroupID(targetGroupID);
await databaseManager.changeUserStateByID(userMediaID, "sendingToGroup")
await databaseManager.changeUserStateByMediaID(userMediaID, "sendingToGroup")
await databaseManager.changeGroupTargetByMediaID(userMediaID, targetGroup._id);
data.text = "Opened session to group " + targetGroup.groupName + ".\ntype \"!quitSession\" to close the " +
"session and use other commands.";
......
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