aboutsummaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-09-21 22:11:43 +0200
committerTom Smeding <tom.smeding@gmail.com>2021-01-28 22:20:13 +0100
commit08665c0409d25cdc3558b7a9e175e342acf08aeb (patch)
tree12548a3ca5995ad6d9b018dae3755a239623bc38 /rust
parent653c5d682fb23a57cb39255da0164636ddefb7ab (diff)
rust: Bel on incoming message
Diffstat (limited to 'rust')
-rw-r--r--rust/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/src/main.rs b/rust/src/main.rs
index 5a50f3b..1f26d11 100644
--- a/rust/src/main.rs
+++ b/rust/src/main.rs
@@ -320,6 +320,7 @@ impl App {
self.append_history_item(&room, HItem::Service(format!("Join: <{}>", username))).await.unwrap();
}
PushMessage::Message(msg) => {
+ bel::bel();
self.add_message(msg).await.unwrap();
}
PushMessage::Online{ sessions: _, username: _ } => {}