diff --git a/src/tui_app/app/events/event_types/event/handlers/command.rs b/src/tui_app/app/events/event_types/event/handlers/command.rs index 554c91a..69c43e1 100644 --- a/src/tui_app/app/events/event_types/event/handlers/command.rs +++ b/src/tui_app/app/events/event_types/event/handlers/command.rs @@ -112,12 +112,12 @@ pub async fn handle( Command::RoomMessageSend(msg) => { if let Some(room) = app.status.room_mut() { room.send(msg.clone()).await?; + send_status_output!("Sent message: `{}`", msg); } else { // TODO(@Soispha): Should this raise a lua error? It could be very confusing, // when a user doesn't read the log. warn!("Can't send message: `{}`, as there is no open room!", &msg); } - send_status_output!("Send message: `{}`", msg); EventStatus::Ok } Command::Greet(name) => {