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

Longer Mattermost messages divided to multiple pieces #12

Open
ljelinek-cznic opened this issue Aug 4, 2020 · 5 comments
Open

Longer Mattermost messages divided to multiple pieces #12

ljelinek-cznic opened this issue Aug 4, 2020 · 5 comments

Comments

@ljelinek-cznic
Copy link

I've encountered the situation that Mattermost messages are divided to multiple pieces (each is sent as a separate message). We have currently six restaurants and the sixth's menu is divided inside a word. See the screenshot below.

If it is a limitation of Mattermost (maximum character count for a message) please consider forced dividing between restaurants instead of the current automatic dividing at any place.

jidlobot

@helb
Copy link
Owner

helb commented Aug 4, 2020

Mattermost can be configured to allow up to 16383 characters per message, that should hopefully be enough even for the most verbose restaurants (Important Upgrade Notes, it's in the table row for v5.0.0).

Maybe we could just ask admins to change it – we are currently on v5.21.0 and probably using the default value of 4000 chars incl. markdown formatting…

@ljelinek-cznic
Copy link
Author

Thanks for reply. I'll ask admins to raise the limit.

@helb
Copy link
Owner

helb commented Aug 4, 2020

Dividing before headings/restaurants would be nice, but i'm afraid there's no way for jidlobot to determine the limit… it can just assume it's 4000, but then it will break for people who have set it to a lower value for some reason.

so i guess it's either config change, or choosing less verbose pubs, or living with

já
tra

:)

@ziima
Copy link

ziima commented Sep 23, 2020

How about one message per restaurant. That should fit, shouldn't it?

@helb
Copy link
Owner

helb commented Sep 23, 2020

Asi jo. Aspon dokud u obrazu a v kovarne nepridaji dalsich 150 jidel.

Akorat musim zkusit, jak by to vypadalo v notifikacnim mailu. Kdyz dam @channel jen na zacatek prvni zpravy, posle to asi jen ten „nadpis“, ale kdyz pridam @channel ke kazdy hospode, posle to mail pro kazdou zvlast? To by lidi asi zacalo trochu stvat…

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

3 participants