Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message.content is undefined, "that file might've been a virus" #40

Closed
NoNameLmao opened this issue Nov 2, 2022 · 2 comments
Closed
Labels
bug Something isn't working enhancement New feature or request

Comments

@NoNameLmao
Copy link

NoNameLmao commented Nov 2, 2022

i was starting my ddrive and i kept noticing that it kept crashing during launch. i've dug into this and found that discord, apparently, detected one of the uploading files as a virus and in result did not upload it. solved by deleting the messages, but i'd suggest adding a failsave for that

// my own code i added to find the exact messages
// src/discordFS/index.js, just before messagesGroupByType
tempMessageCache.forEach(message => {
    if (!message.content) {
        debug('>>> INVALID MESSAGE CONTENT')                                              
        debug(message)
    }
})

IMG_20221102_095141
IMG_20221102_095351

@forscht
Copy link
Owner

forscht commented Nov 2, 2022

Thanks for bringing this up. Will patch it.

@forscht forscht added enhancement New feature or request bug Something isn't working labels Nov 2, 2022
@forscht
Copy link
Owner

forscht commented Jan 4, 2023

Fixed in version 3.7.1 #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants