private static void HandleActivityInvite(ActivityActionType type, ref User user, ref Activity activity) { if (Config.Instance.AllowInvites) { OnActivityInvite?.Invoke(type, ref user, ref activity); } }
internal void CallActivityInvite(ActivityActionType actionType, ref User user, ref Activity activity) { OnActivityInvite?.Invoke(actionType, ref user, ref activity); }