Stay connected if room requires auth

Even though authentication is not possible yet
This commit is contained in:
Joscha 2022-07-05 20:18:37 +02:00
parent 7f1dc020d3
commit 4712798bf5

View file

@ -131,10 +131,7 @@ impl State {
async fn on_data(&mut self, data: Data) -> anyhow::Result<()> { async fn on_data(&mut self, data: Data) -> anyhow::Result<()> {
match data { match data {
Data::BounceEvent(_) => { Data::BounceEvent(_) => {}
error!("e&{}: auth not implemented", self.name);
bail!("auth not implemented");
}
Data::DisconnectEvent(d) => { Data::DisconnectEvent(d) => {
warn!("e&{}: disconnected for reason {:?}", self.name, d.reason); warn!("e&{}: disconnected for reason {:?}", self.name, d.reason);
} }