Skip to content

Commit

Permalink
Fix voice manager initialisation (serenity-rs#2727)
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Oct 20, 2024
1 parent c238e1c commit 9160269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,9 +766,9 @@ impl Client {
let cache_user_id = {
let cache_user = self.cache.current_user();
if cache_user.id == UserId::default() {
Some(cache_user.id)
} else {
None
} else {
Some(cache_user.id)
}
};

Expand Down

0 comments on commit 9160269

Please sign in to comment.