Hey, i would love to work on this.
Thanks @niklabh!
Here is a pull request: https://github.com/mattermost/mattermost-plugin-github/pull/120
Here is the flow for implementations in https://github.com/mattermost/mattermost-plugin-github/pull/120:




@niklabh Hi, we are using this plugin on a Mattermost instance of ours but the result after attaching a Mattermost message to an issue is not the same.
Yours contains just the message and that's it, meanwhile ours also adds some unwanted comments on the top, such as, "x user attached x message to issue".
Is there any config I have missed or did this feature actually change in newer PRs? Thanks in advance!
Hi @AnXh3L0,
The screenshot above were taken from a WIP prototype. https://github.com/mattermost/mattermost-plugin-github/pull/162 did add the x user attached x message to issue text. It there to make clear where is comment does come from and help with linking Mattermost and GitHub even further together.
Hi @hanzei,
Thanks for the answer. Is there any way we can remove that line without having to edit and rebuild the whole plugin?
No, there isn't. Without that lint it seams to be hard to identify the context in which a message was attached e.g. when attaching a message from another user.
Understood, it seems I'll have to edit the plugin myself then, thanks for the quick answer!