Compare commits
1 commit
2ba0403dc7
...
163a409b8d
Author | SHA1 | Date | |
---|---|---|---|
163a409b8d |
|
@ -86,12 +86,13 @@ impl EventEmitter for WakeOnLanBot {
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Ok(command) = Command::from_str(&msg_body) {
|
if let Ok(command) = Command::from_str(&msg_body) {
|
||||||
|
let room_id = room.read().await.room_id.clone();
|
||||||
handle_command(
|
handle_command(
|
||||||
command,
|
command,
|
||||||
&self.client,
|
&self.client,
|
||||||
&self.hosts,
|
&self.hosts,
|
||||||
event,
|
event,
|
||||||
&room.read().await.room_id.clone(),
|
&room_id,
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue