Lhc_fl
(Linca)
2023 年 4 月 26 日午後 2:54
1
A recent discourse update seems to have broken the chat minimum character limit setting. Even if I set the minimum characters to 1, I have to enter two characters to send the chat message.
This is quite unfriendly for many situations. Especially in Chinese, there are a large number of expressions that only need one char. This bug makes such expressions unable to be sent out normally.
「いいね!」 6
j.jaffeux
(Joffrey Jaffeux)
2023 年 4 月 26 日午後 3:02
2
Will have a look, I suspect it was just not working before, and the way we check length is not working with these characters.
「いいね!」 2
j.jaffeux
(Joffrey Jaffeux)
2023 年 4 月 26 日午後 3:04
3
Can you paste me the exact char you are using please?
「いいね!」 1
Canapin
(Coin-coin le Canapin)
2023 年 4 月 26 日午後 3:05
4
Here it is, here it is: 好
「いいね!」 2
j.jaffeux
(Joffrey Jaffeux)
2023 年 4 月 26 日午後 3:05
5
Ooops… no it was just a stupid mistake. Will have the fix shortly.
「いいね!」 2
j.jaffeux
(Joffrey Jaffeux)
2023 年 4 月 26 日午後 3:35
6
I just merged this which will fix it:
discourse:main
← jjaffeux:chat/mini-length
opened 03:21PM - 26 Apr 23 UTC
Before this fix we were only considering `>` and not `>=`, this also adds two te… sts.
This should be available in tests-passed soon, thanks for the report
「いいね!」 6
Lhc_fl
(Linca)
2023 年 4 月 26 日午後 3:39
7
Thank you so much for the super quick fix!
(the bug is exactly the same as I guessed lol)
「いいね!」 3
j.jaffeux
(Joffrey Jaffeux)
クローズされました:
2023 年 4 月 27 日午後 3:40
8
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.