Stopping federation of private and protected blogs

For implementing the short term fix, do we just want to return nil when returning early on any of the conditions outlined here?

Example:

	// If app is private, do not federate
	if app.cfg.App.Private {
		return nil
	}

	// Do not federate posts from private or protected blogs
	if p.Collection.Visibility == CollPrivate || p.Collection.Visibility == CollProtected {
		return nil
	}

Yes, that looks like it should do it! We’ll review your PR shortly.

1 Like