Clear cached credentials when establishing a websocket connection with an invalid token
This commit is contained in:
parent
4a9918979e
commit
7e4d5b7d04
7 changed files with 63 additions and 37 deletions
|
@ -960,7 +960,7 @@ impl Workspace {
|
|||
|
||||
fn render_connection_status(&self) -> Option<ElementBox> {
|
||||
let theme = &self.settings.borrow().theme;
|
||||
match dbg!(&*self.rpc.status().borrow()) {
|
||||
match &*self.rpc.status().borrow() {
|
||||
rpc::Status::ConnectionError
|
||||
| rpc::Status::ConnectionLost
|
||||
| rpc::Status::Reauthenticating
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue