Thare is a default option that allows a user to only allow people to chat with them if they he follows them
I know, but it's hard to find for some users.
It's pretty common to emit from frontend and use socket.on to receive it in backend.
However, I want to make socket.emit from plugin backend and receive it using socket.on in frontend side of plugin, instead of receiving data via callback.
Is there an example plugin for this?