Skip to content

Commit

Permalink
re-enable credential caching
Browse files Browse the repository at this point in the history
  • Loading branch information
eladyn committed Jul 16, 2023
1 parent 1c14982 commit 4c94453
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed
- Credential caching has been re-enabled. ([#1214])

[#1214]: https://github.com/Spotifyd/spotifyd/pull/1214

## [0.3.5]

We now have a [project website](https://spotifyd.rs) (thanks @slondr!) and a [matrix room](https://matrix.to/#/#spotifyd:matrix.org).
Expand Down
2 changes: 1 addition & 1 deletion src/main_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl MainLoop {
let session_config = self.session_config.clone();
let cache = self.spotifyd_state.cache.clone();

Session::connect(session_config, creds, cache, false)
Session::connect(session_config, creds, cache, true)
.await
.map(|(session, _creds)| session)
}
Expand Down

0 comments on commit 4c94453

Please sign in to comment.