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 19:33:19 +04:00
committed by GitHub
parent 710b9f1e2c
commit e5b57540f6
+8
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) {