설정과 무관하게 채팅은 최소 2자 이상 필요

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.

image

6개의 좋아요

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개의 좋아요

Can you paste me the exact char you are using please?

1개의 좋아요

Here it is, here it is: Good :stuck_out_tongue:

2개의 좋아요

Ooops… no it was just a stupid mistake. Will have the fix shortly.

2개의 좋아요

I just merged this which will fix it:

https://github.com/discourse/discourse/pull/21256

This should be available in tests-passed soon, thanks for the report :+1:

6개의 좋아요

Thank you so much for the super quick fix!


(the bug is exactly the same as I guessed lol)

3개의 좋아요

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.