refac: note & chat sticky attachment

This commit is contained in:
Timothy Jaeryang Baek committed 2025-09-25 13:21:47 -05:00
1 parent eeed0df743
commit 776d4773a9
2 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -1494,7 +1494,9 @@
const _files = JSON.parse(JSON.stringify(files));
chatFiles.push(
..._files.filter((item) => ['doc', 'text', 'file', 'collection'].includes(item.type))
..._files.filter((item) =>
['doc', 'text', 'file', 'note', 'chat', 'collection'].includes(item.type)
)
);
chatFiles = chatFiles.filter(
// Remove duplicates