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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing updated form fields. Fixes #2724 #2725

Merged
merged 3 commits into from
Feb 14, 2023
Merged

Fixing updated form fields. Fixes #2724 #2725

merged 3 commits into from
Feb 14, 2023

Conversation

dessalines
Copy link
Member

No description provided.

@Nutomic
Copy link
Member

Nutomic commented Feb 12, 2023

Can you try using default_code attribute mentioned in TypedBuilder docs? Then the builder could automatically set this field, and we wouldnt have to remember passing it in every callsite.

@dessalines
Copy link
Member Author

We actually don't want that as the default for most of them. See the other places where its used, a lot of them apub sends.

@Nutomic
Copy link
Member

Nutomic commented Feb 14, 2023

I searched for PostUpdateForm in apub code and only see it used in receivers where posts are marked as deleted/removed. But it seems we are using the field strictly to indicate that the post content changed, not its metadata. Then it makes sense not to change it.

@dessalines dessalines merged commit 956d0aa into main Feb 14, 2023
Nutomic pushed a commit that referenced this pull request Feb 20, 2023
* Fixing updated form fields. Fixes #2724

* Fix import.
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.

None yet

2 participants