Forgot that groups exist

This commit is contained in:
Cohee 2023-09-08 10:51:59 +03:00
parent 408a1fe846
commit b5a6257352
1 changed files with 1 additions and 0 deletions

View File

@ -2783,6 +2783,7 @@ app.post('/getgroups', jsonParser, (_, response) => {
const group = json5.parse(fileContents); const group = json5.parse(fileContents);
const groupStat = fs.statSync(filePath); const groupStat = fs.statSync(filePath);
group['date_added'] = groupStat.birthtimeMs; group['date_added'] = groupStat.birthtimeMs;
group['create_date'] = humanizedISO8601DateTime(groupStat.birthtimeMs);
let chat_size = 0; let chat_size = 0;
let date_last_chat = 0; let date_last_chat = 0;