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

Automatically pin first message in projects forum #1167

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

andrew-09
Copy link
Contributor

#1166

When a new thread is created in the "projects" forum it automatically pins the first message (the OP's message)

image

@andrew-09 andrew-09 requested a review from a team as a code owner September 20, 2024 22:37
@@ -58,15 +58,15 @@ public HelpThreadCreatedListener(HelpSystemHelper helper) {

@Override
public void onMessageReceived(MessageReceivedEvent event) {
String projectsChannelName = "projects";
Copy link
Member

Choose a reason for hiding this comment

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

should be configured via config.json

@@ -58,15 +58,15 @@ public HelpThreadCreatedListener(HelpSystemHelper helper) {

@Override
public void onMessageReceived(MessageReceivedEvent event) {
Copy link
Member

Choose a reason for hiding this comment

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

please mind that this is a listener dedicated to help threads only, i would suggest to create a new listener catering to project forum.

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