Stay connected if room requires auth
Even though authentication is not possible yet
This commit is contained in:
parent
7f1dc020d3
commit
4712798bf5
1 changed files with 1 additions and 4 deletions
|
|
@ -131,10 +131,7 @@ impl State {
|
|||
|
||||
async fn on_data(&mut self, data: Data) -> anyhow::Result<()> {
|
||||
match data {
|
||||
Data::BounceEvent(_) => {
|
||||
error!("e&{}: auth not implemented", self.name);
|
||||
bail!("auth not implemented");
|
||||
}
|
||||
Data::BounceEvent(_) => {}
|
||||
Data::DisconnectEvent(d) => {
|
||||
warn!("e&{}: disconnected for reason {:?}", self.name, d.reason);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue