mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fixed Chatterino attempting to send empty messages in IRC (#3355)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
56f2207d22
commit
b1e891b122
|
@ -56,6 +56,7 @@
|
|||
- Bugfix: Fixed IRC ACTION messages (/me) not being colorized properly. (#3341)
|
||||
- Bugfix: Fixed splits losing filters when closing and reopening them (#3351)
|
||||
- Bugfix: Fixed the first usercard being broken in `/mods` and `/vips` (#3349)
|
||||
- Bugfix: Fixed Chatterino attempting to send empty messages (#3355)
|
||||
- Dev: Add GitHub action to test builds without precompiled headers enabled. (#3327)
|
||||
- Dev: Renamed CMake's build option `USE_SYSTEM_QT5KEYCHAIN` to `USE_SYSTEM_QTKEYCHAIN`. (#3103)
|
||||
- Dev: Add benchmarks that can be compiled with the `BUILD_BENCHMARKS` CMake flag. Off by default. (#3038)
|
||||
|
|
|
@ -18,6 +18,10 @@ IrcChannel::IrcChannel(const QString &name, IrcServer *server)
|
|||
void IrcChannel::sendMessage(const QString &message)
|
||||
{
|
||||
assertInGuiThread();
|
||||
if (message.isEmpty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (message.startsWith("/"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue