Remove unneeded parameter on method call

This commit is contained in:
Mateus Etto 2019-05-15 19:45:42 +09:00
parent 28bf024990
commit 0824af05b7
No known key found for this signature in database
GPG key ID: 27CC5D96018F217E

View file

@ -344,7 +344,7 @@ schema.statics.toJSONCleanChat = async function groupToJSONCleanChat (group, use
await getGroupChat(group);
}
group.translateSystemMessages(group, user);
group.translateSystemMessages(user);
let toJSON = group.toJSON();