Port message sending
This commit is contained in:
parent
98f51a5a2e
commit
066ea0cb07
4 changed files with 122 additions and 92 deletions
|
|
@ -304,13 +304,13 @@ impl EuphRoom {
|
|||
}
|
||||
}
|
||||
|
||||
// if let Some((parent, content)) = self
|
||||
// .chat
|
||||
// .handle_messaging(terminal, crossterm_lock, event)
|
||||
// .await
|
||||
// {
|
||||
// let _ = room.send(parent, content);
|
||||
// }
|
||||
let potential_message = self
|
||||
.chat
|
||||
.handle_messaging(terminal, crossterm_lock, event)
|
||||
.await;
|
||||
if let Some((parent, content)) = potential_message {
|
||||
let _ = room.send(parent, content);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue