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

FEATURE: Skip small actions when counting replies in PMs. #7108

Merged
merged 2 commits into from Mar 8, 2019
Merged

FEATURE: Skip small actions when counting replies in PMs. #7108

merged 2 commits into from Mar 8, 2019

Conversation

udan11
Copy link
Contributor

@udan11 udan11 commented Mar 4, 2019

No description provided.

@discoursebot
Copy link

You've signed the CLA, udan11. Thank you! This pull request is ready for review.

@udan11 udan11 marked this pull request as ready for review March 5, 2019 21:53
@udan11 udan11 requested a review from ZogStriP March 5, 2019 21:53
@@ -527,7 +527,7 @@ def update_status(status, enabled, user, opts = {})
end

# Atomically creates the next post number
def self.next_post_number(topic_id, reply = false, whisper = false)
def self.next_post_number(topic_id, reply = false, whisper = false, post = true)
Copy link
Member

Choose a reason for hiding this comment

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

3 is a crowd. Can you change these optional parameters to named ones?

Copy link
Member

@ZogStriP ZogStriP left a comment

Choose a reason for hiding this comment

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

Topic.next_post_number has now too many optional parameters.

@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/inviting-someone-to-a-message-counts-as-a-reply-when-it-shouldn-t/109403/8

@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/waiting-for-reply-state-for-group-messages/50382/5

@udan11 udan11 merged commit 2312cac into discourse:master Mar 8, 2019
@udan11 udan11 deleted the skip_small_actions branch March 15, 2019 12:15
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/reply-count-on-blog-comments-off-by-one/188402/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants