Closed maisnamrajusingh closed 3 years ago
Hello @maisnamrajusingh,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Does this change effect the
UserHasJoinedTeam
hook?
No it doesn't.
How do these changes ensure that users who join a team get the right message?
This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook
How do these changes ensure that users who join a team get the right message? I was so focussed on the message preview I totally forgot that I needed to get the message to show up when the user joins the team. :man_facepalming:
I have updated the changes so that it hooks to the UserHasJoinedTeam hook
Let's deffer QA testing to release testing.
Summary
I closed the previous PR that had a lot of conflicts and updated the logic here to make the code more simpler and shorter. Users can now configure the messages using
team-1, team-2
orteam-1, team-2
and the bot will process the message for those teams when running/welcomebot preview team-1
or/welcomebot preview team-2
Ticket Link
https://github.com/mattermost/mattermost-plugin-welcomebot/issues/65