#chats no longer trigger

6 messages · Page 1 of 1 (latest)

vernal scaffold
#

@latent flare First let me thank you for all the hard work you and the team have put in to get this library up to this point. You're simple amazing. I like to bring to your attention a critical issue that I experienced yesterday. I restarted my bot as usual and after sending a text, I didn't get a response from the bot like I would. So I checked the console, and found this error:

        this.deviceType = data.id.id.length > 21 ? 'android' : data.id.id.substring(0, 2) == '3A' ? 'ios' : 'web';
                                                                          ^

TypeError: data.id.id.substring is not a function```

Immediately I realized that this might be a library-related or FB issue. Please can you take a quick look?
latent flare
#

update to v1.20.0

#

@vernal scaffold

vernal scaffold
#

Just did.

#

Same issue

#

I will delete node_modules and reinstall everything