From 08665c0409d25cdc3558b7a9e175e342acf08aeb Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 21 Sep 2020 22:11:43 +0200 Subject: rust: Bel on incoming message --- rust/src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/src') 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: _ } => {} -- cgit v1.2.3-70-g09d2