]> Untitled Git - lemmy.git/commit
Prevent making an instance private if federation is enabled. (#3074)
authorWyatt Smith <wyatt@wyattsmith.org>
Thu, 15 Jun 2023 09:35:09 +0000 (02:35 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2023 09:35:09 +0000 (11:35 +0200)
commit744153eee60e7a50b2a84144e0562a44915ad91a
tree9106163ffd8fde06fdd6a46b62ee1eb7a5e3164c
parent68d814b9b125618df8e82b4eb102d8b4fceaf56d
Prevent making an instance private if federation is enabled. (#3074)

* Prevent making an instance private if federation is enabled.

* Added case where federation is enabled, check if the alternative setting is changed

* Merged the error messages for private instance/federation.

---------

Co-authored-by: Wyatt Smith <wys@dropbox.com>
crates/api_crud/src/site/update.rs