You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if sending messages should emit an event at all (let me think about it..). But if it so, it should probably be emitted by the .send() function.
The object emitted by the message event is pretty simple:
{
to: 'x',
from: 'y',
message: 'z'
}
And the event could be triggered like this (from within the .send() function):
Currently the
message
event only gets emitted when messages are from others.I can't find the line though that prevents that from happening.
The text was updated successfully, but these errors were encountered: