Skip to content

Perform config validation in its own function, rather than using OnConfigurationChange to check #110

@mickmister

Description

@mickmister

I understand we are calling OnConfigurationChange here to make sure we exit if we cannot create the channel or user. Nevertheless, I wonder if we should separate this in a different function (e.g. CreateUserAndChannel). Semantically, here there are no configuration changes. We are just trying to create the channel and the user to exit if they cannot be created.

Originally posted by @larkox in https://github.com/mattermost/mattermost-plugin-demo/timeline

Edit: GitHub's "Reference in new issue" feature seems to have created a broken link above. Here's the actual comment this ticket came from #109 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueSuitable for first-time contributorsHacktoberfestHelp WantedCommunity help wantedTech/GoUp For GrabsReady for help from the community. Removed when someone volunteers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions