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

Add mattermost service command for handling channel headers #588

Open
kot0dama opened this issue Jan 6, 2025 · 0 comments
Open

Add mattermost service command for handling channel headers #588

kot0dama opened this issue Jan 6, 2025 · 0 comments

Comments

@kot0dama
Copy link

kot0dama commented Jan 6, 2025

Considering IRC limitations (topic max length, IRC message max length, inability to set topics for private conversations), it could be interesting to have a mattermost service command for handling channel/DM headers.

For example:

/msg mattermost header get <channel/username>
/msg mattermost header set <channel/username> <new header contents>
/msg mattermost header update <channel/username> <sed-style or perl-style replacement s/blah/blip/>

I'm not sure of the limit for Mattermost headers, but the set command might be a bit tricky if we want to allow longer headers than what a single IRC message line allows. Hence the update command to allow using regex replacements :)

Thank you!

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

No branches or pull requests

1 participant