fix: use the moved chat's pinned state when a folder chat is dropped on Chats or Pinned (#31368)

This commit is contained in:
G30 2026-09-30 11:33:19 -04:00 • committed by GitHub
parent 710b9f1e2c
commit e5b57540f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1464,6 +1464,10 @@
});
folderRegistry[chat.folder_id]?.setFolderItems();
if (res) {
chat = res;
}
}
if (chat.pinned) {
@ -1561,6 +1565,10 @@
toast.error(`${error}`);
return null;
});
if (res) {
chat = res;
}
}
if (!chat.pinned) {