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

Respect the postopts values for scheduled posts #10581

Merged
merged 2 commits into from Aug 8, 2021

Conversation

annando
Copy link
Collaborator

@annando annando commented Aug 6, 2021

This fixes the problem that the connector settings hadn't been respected for delayed posts.

@@ -33,19 +33,23 @@

class Delayed
{
const PREPARED = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please explain the meaning of these three values as it isn’t intuitive just from the names.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

A boolean parameter has been converted to an integer parameter. Since there can be outstanding jobs in the workerqueue during the update we have to assure that it is interpreted correctly.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I meant in the code, please. 😅

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@MrPetovan MrPetovan merged commit bfbfd94 into friendica:develop Aug 8, 2021
@annando
Copy link
Collaborator Author

annando commented Aug 8, 2021

@MrPetovan don't forget about friendica/friendica-addons#1151

@annando annando deleted the postopts branch August 8, 2021 14:07
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