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

Match API parity with 0.19.0-rc.19 #16

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Match API parity with 0.19.0-rc.19 #16

merged 1 commit into from
Dec 5, 2023

Conversation

hjiangsu
Copy link
Member

@hjiangsu hjiangsu commented Dec 5, 2023

This PR is to match parity up to 0.19.0-rc.19: LemmyNet/lemmy-js-client@0.19.0-alpha.18...0.19.0-rc.19.

There should be no changes required on Thunder's end to support these changes!

@@ -18,6 +18,7 @@ class CommentView with _$CommentView {
required CommentAggregates counts,
required bool creatorBannedFromCommunity,
bool? creatorIsModerator, // Only available in lemmy v0.19.0 and above
bool? creatorIsAdmin, // Only available in lemmy v0.19.0 and above
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we could use this instead of having to read the post's community's admin list on post load.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so! We can migrate to using this once most instances move to 0.19.x in the future

@hjiangsu hjiangsu merged commit 50bc1e8 into master Dec 5, 2023
@hjiangsu hjiangsu deleted the fix/0.19.0-rc.19 branch December 5, 2023 17:48
hjiangsu added a commit that referenced this pull request Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants