private void OnBroadcastMessage(ChatPeer peer, EventData @event, SendParameters sendParameters) { if (peer != this) { this.SendEvent(@event, sendParameters); } }
private void OnBroadcastMessage(ChatPeer peer, EventData eventData, SendParameters sendParameters) { if (peer != this) // do not send chat custom event to peer who called the chat custom operation { SendEvent(eventData, sendParameters); } }