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

fix(model): thread sync has channel ids, not guild ids #1420

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

AEnterprise
Copy link
Member

Typing was wrong in this model. Technically a breaking change but targeted at main since it's an an incorrect mapping

@github-actions github-actions bot added c-model Affects the model crate t-fix Fixes a bug in the library labels Jan 3, 2022
@AEnterprise AEnterprise added the m-breaking change Breaks the public API. label Jan 3, 2022
@7596ff 7596ff merged commit 75aeff7 into twilight-rs:main Jan 7, 2022
@AEnterprise AEnterprise deleted the fix/thread-sync-channel-id branch January 7, 2022 06:53
7596ff added a commit that referenced this pull request Jan 8, 2022
Additions

Add `{Guild, PartialGuild}::premium_progress_bar_enabled` ([#1399] -
[@Erk-]).

Support guild timeouts in `MemberUpdate` ([#1414] - [@AEnterprise]).

Add `VoiceState::self_video` ([#1422] - [@AEnterprise]).

Support guild timeouts in the audit log ([#1423] - [@itohatweb]).

Changes

`CallbackData::embeds` is now an `Option<Vec>` instead of a `Vec`
([#1401] - [@itohatweb]).

Fixes

Properly deserialize `AuditLogChange::{RoleAdd, RoleRemove}` as `$add`
and `$remove` ([#1419] - [@itohatweb]).

Change `ThreadListSync::channel_ids` to a list of channel IDs instead of
guild IDs ([#1420] - [@AEnterprise]).

Properly deserialize `ThreadDelete` ([#1426] - [@AEnterprise]).

[#1399]: #1399
[#1401]: #1401
[#1414]: #1414
[#1419]: #1419
[#1420]: #1420
[#1422]: #1422
[#1423]: #1423
[#1426]: #1426

[@AEnterprise]: https://github.com/AEnterprise
[@Erk-]: https://github.com/Erk-
[@itohatweb]: https://github.com/itohatweb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-model Affects the model crate m-breaking change Breaks the public API. t-fix Fixes a bug in the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants