Merge pull request #620 from AttorneyOnline/remove-clientside-wait

Remove client-side send waiting
This commit is contained in:
oldmud0 2021-12-24 09:09:04 -06:00 committed by GitHub
commit f44f3f9fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1787,9 +1787,6 @@ void Courtroom::on_chat_return_pressed()
if (is_muted)
return;
if (text_state < 2 && objection_state == 0)
return;
ui_ic_chat_message->blockSignals(true);
QTimer::singleShot(ao_app->get_chat_ratelimit(), this,
[=] { ui_ic_chat_message->blockSignals(false); });