add config option for logging guest regs in admin room
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -290,7 +290,7 @@ pub async fn register_route(body: Ruma<register::v3::Request>) -> Result<registe
|
||||
}
|
||||
|
||||
// log in conduit admin channel if a guest registered
|
||||
if !body.from_appservice && is_guest {
|
||||
if !body.from_appservice && is_guest && services().globals.log_guest_registrations() {
|
||||
services()
|
||||
.admin
|
||||
.send_message(RoomMessageEventContent::notice_plain(format!(
|
||||
|
||||
Reference in New Issue
Block a user