Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove archived threads from cache #2322

Merged
merged 1 commit into from Nov 3, 2022
Merged

Conversation

MinnDevelopment
Copy link
Member

Pull Request Etiquette

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Closes Issue: NaN

Description

This will remove archived threads from the cache. You can use Guild#retrieveArchivedPublicThreadChannels to get them again.

Since thread cache is necessary to handle update events, those events will no longer function for archived threads. However, that was partially the case anyway, since archived threads were discarded already on invalidation (or startup).

@MinnDevelopment MinnDevelopment added type: enhancement type: semi-breaking this might change internals in a non-comptible way labels Nov 2, 2022
@MinnDevelopment MinnDevelopment merged commit 7660750 into master Nov 3, 2022
@MinnDevelopment MinnDevelopment deleted the patch-archived-cache branch November 3, 2022 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement type: semi-breaking this might change internals in a non-comptible way
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants