My events aren't emitting when they should #4782
Unanswered
corentinmace
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, so i'm working on my last project before I graduate, and I'm integrating private messages to it, so i have this function whenever I enter the conversation, that fetch all the messages inside of it from our API, but somehow, the
io.to(room).emit('message'...
doesn't emit anything. I have tried switch the io.to to a socket.to, a io.in, but nothingIf someone can help me figure this out, it would be much appreciated, it's not the first time I use socket (I already have done a pretty complete chat system with servers, and DMs), but I've been busting my head for 3 days with this
Beta Was this translation helpful? Give feedback.
All reactions