Fixing default profile image

This commit is contained in:
Corey Blais
2026-05-01 10:57:12 -04:00
parent 5a3ca9021a
commit 5db30022eb
4 changed files with 3 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

+2 -2
View File
@@ -982,7 +982,7 @@ const parseDataImage = (dataUrl: string) => {
};
const getDefaultBirdPhotoAttachment = () => {
const defaultPhotoPath = path.join(process.cwd(), 'assets', 'yoda.png');
const defaultPhotoPath = path.join(process.cwd(), 'assets', 'yoda-default.png');
if (!existsSync(defaultPhotoPath)) {
console.warn(`Unable to load default bird photo from ${defaultPhotoPath}`);
@@ -990,7 +990,7 @@ const getDefaultBirdPhotoAttachment = () => {
}
return {
filename: 'yoda.png',
filename: 'yoda-default.png',
path: defaultPhotoPath,
cid: 'flockpal-default-bird-photo',
contentDisposition: 'inline' as const,