aboutsummaryrefslogtreecommitdiff
path: root/rust/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/main.rs')
-rw-r--r--rust/src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/src/main.rs b/rust/src/main.rs
index 8c7e617..5806ae0 100644
--- a/rust/src/main.rs
+++ b/rust/src/main.rs
@@ -448,6 +448,8 @@ impl App {
match parsed {
Err(msg) => {
if room == *STATUS_ROOM {
+ bel::bel();
+ self.add_room_highlight(&STATUS_ROOM).await.unwrap();
self.append_history_item(&STATUS_ROOM,
HItem::Service("Cannot send messages in this magic status room".to_string(), true)
).await.unwrap();
@@ -477,6 +479,8 @@ impl App {
}
Ok((cmd, _)) => {
+ bel::bel();
+ self.add_room_highlight(&STATUS_ROOM).await.unwrap();
self.append_history_item(&STATUS_ROOM, HItem::Service(format!("Unknown command: '{}'", cmd), true)).await?;
}
}