diff --git a/src/application/main-window.vala b/src/application/main-window.vala index 4d70318..cab37bd 100644 --- a/src/application/main-window.vala +++ b/src/application/main-window.vala @@ -60,11 +60,6 @@ public class MainWindow : Adw.ApplicationWindow // Strip empty space at the beginning and end of the body body = body.strip(); - if (body.length == 0) { - GLib.warning("Message body is empty"); - return; - } - if (transcript_container_view.transcript_view.model == null) { GLib.warning("No conversation selected"); return; @@ -82,4 +77,4 @@ public class MainWindow : Adw.ApplicationWindow GLib.warning("Failed to send message: %s", e.message); } } -} \ No newline at end of file +}