Skip to content

Commit

Permalink
No longer update topic on VoiceChannelStatusUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbt365 committed Apr 11, 2024
1 parent 8de90dc commit 5f43dcb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/cache/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,6 @@ impl CacheUpdate for VoiceChannelStatusUpdateEvent {

let old = channel.status.clone();
channel.status.clone_from(&self.status);
// Discord updates topic but doesn't fire ChannelUpdate.
channel.topic.clone_from(&self.status);
old
}
}

0 comments on commit 5f43dcb

Please sign in to comment.