Can't the sendEndpointMessage event be sent to itself?

Can’t send the sendEndpointMessage event to yourself?

Is it possible by modifying the source?

Please share if possible.

help me.

What is the point of sending it to yourself?

When a moderator leaves a room, we want to notify participants by sending a specific message.

But this is not to itself. For example we just merged the avmoderation logic and its component is sending messages to the clients, the from is the avmoderation component.
So your logic can have the same …

@qwerts89 See: mod_av_moderation.lua and mod_av_moderation_component.lua for examples.