mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
add config option for logging guest regs in admin room
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
e57051acd8
commit
d95c02f575
4 files changed
+13
-1
No files matched your search
@@ -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