/// <summary> /// Occurs when a new user was created. /// </summary> private void OnUserLeave(User user) { Emitter.Publish(Key.UserNotify, "user-notify/v1/leave/", user.Serialize()); }
/// <summary> /// Occurs when a new user was created. /// </summary> private void OnUserJoin(User user) { Emitter.Publish(Key.UserNotify, "user-notify/v1/join/", user.Serialize()); }