mirror of
https://github.com/actix/examples
synced 2025-06-27 01:27:43 +02:00
update actix web to stable version
This commit is contained in:
@ -107,7 +107,7 @@ impl Handler<Connect> for ChatServer {
|
||||
println!("Someone joined");
|
||||
|
||||
// notify all users in same room
|
||||
self.send_message(&"Main".to_owned(), "Someone joined", 0);
|
||||
self.send_message("Main", "Someone joined", 0);
|
||||
|
||||
// register session with random id
|
||||
let id = self.rng.gen::<usize>();
|
||||
|
Reference in New Issue
Block a user