Sort characters list in hot swaps

This commit is contained in:
SillyLossy
2023-05-06 00:42:29 +03:00
parent 6dbe728a6d
commit ef7f6ad096
3 changed files with 4 additions and 0 deletions

View File

@@ -191,6 +191,7 @@ function resetSelectedGroup() {
async function saveGroupChat(groupId, shouldSaveGroup) {
const group = groups.find(x => x.id == groupId);
const chat_id = group.chat_id;
group['date_last_chat'] = Date.now();
const response = await fetch("/savegroupchat", {
method: "POST",
headers: getRequestHeaders(),