diff --git a/fractal-gtk/src/app/connect/send.rs b/fractal-gtk/src/app/connect/send.rs index 299cf61f..dd9dfedd 100644 --- a/fractal-gtk/src/app/connect/send.rs +++ b/fractal-gtk/src/app/connect/send.rs @@ -44,8 +44,7 @@ impl App { let end = buffer.get_end_iter(); if let Some(text) = buffer.get_text(&start, &end, false) { - let mut mut_text = text; - op.lock().unwrap().send_message(mut_text); + op.lock().unwrap().send_message(text); } buffer.set_text("");