1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-16 18:01:35 +00:00

Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Matthias Ahouansou <matthias@ahouansou.cz>
This commit is contained in:
avdb 2024-07-06 13:47:43 +00:00
parent 7fd778a6f2
commit 4c726f4a68

View file

@ -301,15 +301,11 @@ pub async fn register_route(body: Ruma<register::v3::Request>) -> Result<registe
if let Err(e) = join_room_by_id_helper( if let Err(e) = join_room_by_id_helper(
Some(&user_id), Some(&user_id),
room_id, room_id,
Some(
services() services()
.globals .globals
.config .config
.default_rooms_join_reason .default_rooms_join_reason
.as_deref() .as_deref()
.unwrap_or("Hello from Conduit!")
.to_owned(),
),
&servers, &servers,
None, None,
) )