We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3961a4c commit 5310cbdCopy full SHA for 5310cbd
src/public/shells/chat/src/chat.mjs
@@ -1049,7 +1049,7 @@ export async function addUserReply(chatid, object) {
1049
unlockAchievement(chatMetadata.username, 'shells', 'chat', 'first_chat')
1050
1051
// photo_chat
1052
- if (object.files?.some(file => file.type.startsWith('image/')))
+ if (object.files?.some?.(file => file.mime_type.startsWith('image/')))
1053
unlockAchievement(chatMetadata.username, 'shells', 'chat', 'photo_chat')
1054
1055
const timeSlice = chatMetadata.LastTimeSlice
0 commit comments