allow sending empty messages

This commit is contained in:
cidoku 2025-02-15 00:02:33 -03:00
parent f170df0981
commit 85ab57928f

View File

@ -1621,8 +1621,8 @@ class gui(QtGui.QWidget):
def onICreturn(self):
text = str(self.icchatinput.text().toUtf8()).replace('#', '<num>').replace('%', '<percent>').replace('&', '<and>').replace('$', '<dollar>').replace('/n', '\n')
if not text:
return
#if not text:
# return
if self.mocktext.isChecked():
text = mockStr(text)