Wow! So turns out it was a silly error on my part. I had tried the Error object previously, but it was while looking at a different part of the code... I was actually looking/changing the 'imagekit' case in the code and being stumped as to why I was still seeing the behavior as I explained. Anyhow, it is working as it should when passing in an Error object. Thanks for the extra insight!
Hook for when chat message is sent
Hi guys. I can't seem to find a hook for when a chat message is sent. Is there one that I'm not noticing? Thanks for the hep.
@LukeLaupheimer don't think there is one
@pichalite How hard would it be to add one? Could I just write the code and put in a pull request or is it just... way more elaborate than that?
@LukeLaupheimer actually try this hook. I think this gets called on chat messages too. You need to check for
data.module = 'chat'
@pichalite I just tried it. Unfortunately, it didn't activate when I sent a message to my test account. (I had console.log dump out whatever the first param was)
This would've been great if it solved the problem, too.