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

Report command fix #13

Merged
merged 2 commits into from
May 4, 2017
Merged

Report command fix #13

merged 2 commits into from
May 4, 2017

Conversation

double-fault
Copy link
Member

No description provided.

@double-fault double-fault merged commit eb71816 into swift May 4, 2017
@double-fault double-fault deleted the report_command_fix branch May 4, 2017 13:16
}
var filterResult = reporter.checkPost(question)

filterResult [0] = FilterResult (type: .manuallyReported, header: "Manually reported question", details: "Question manually reported.")
Copy link
Member

Choose a reason for hiding this comment

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

How about filterResult.append(...) so that we don't clobber the Bayes stats?

Also, the details should be like a why string. How about something like Post manually reported by \(message.user): https://chat.\(message.room.client.host.rawValue)/transcript/message.id#message.id?

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'll change that to filterResult.append, thanks!

I thought about that why string change earlier too, but looks like I just forgot about it >_<

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

double-fault added a commit that referenced this pull request May 5, 2017
NobodyNada pushed a commit that referenced this pull request Jun 2, 2017
NobodyNada pushed a commit that referenced this pull request Jun 2, 2017
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