Prevent buffer overflow for send msg via the chat room we disabled the send button if there are more charcaters than number of character can be sent in one frame