Skip to content
Snippets Groups Projects
Unverified Commit a4552a5c authored by Diego Sampaio's avatar Diego Sampaio
Browse files

Update the opened livechat room by token

parent e91d94f5
No related merge requests found
......@@ -18,7 +18,8 @@ RocketChat.models.Rooms.updateSurveyFeedbackById = function(_id, surveyFeedback)
RocketChat.models.Rooms.updateLivechatDataByToken = function(token, key, value) {
const query = {
'v.token': token
'v.token': token,
open: true
};
const update = {
......
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