log rejected sendjoin, remove unnecessary clone
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
0ed891b3a1
commit
8454773275
4 changed files with 24 additions and 14 deletions
|
@ -1921,7 +1921,7 @@ pub async fn get_devices_route(
|
|||
let device_id_string = metadata.device_id.as_str().to_owned();
|
||||
let device_display_name = match services().globals.allow_device_name_federation() {
|
||||
true => metadata.display_name,
|
||||
false => Some(device_id_string.to_string()),
|
||||
false => Some(device_id_string),
|
||||
};
|
||||
Some(UserDevice {
|
||||
keys: services()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue