Add key binding to download more logs
This commit is contained in:
parent
4956027027
commit
669e52a2ee
3 changed files with 14 additions and 0 deletions
|
|
@ -458,6 +458,12 @@ impl Room {
|
|||
.map_err(|_| Error::Stopped)
|
||||
}
|
||||
|
||||
pub fn log(&self) -> Result<(), Error> {
|
||||
self.event_tx
|
||||
.send(Event::RequestLogs)
|
||||
.map_err(|_| Error::Stopped)
|
||||
}
|
||||
|
||||
pub fn nick(&self, name: String) -> Result<(), Error> {
|
||||
self.event_tx
|
||||
.send(Event::Nick(name))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue