Duplicate spaces now count towards the display message length (#3002)
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
- Minor: Strip leading @ and trailing , from username in /user and /usercard commands. (#3143)
|
- Minor: Strip leading @ and trailing , from username in /user and /usercard commands. (#3143)
|
||||||
- Minor: Display a system message when reloading subscription emotes to match BTTV/FFZ behavior (#3135)
|
- Minor: Display a system message when reloading subscription emotes to match BTTV/FFZ behavior (#3135)
|
||||||
- Minor: Added a setting to hide similar messages by any user. (#2716)
|
- Minor: Added a setting to hide similar messages by any user. (#2716)
|
||||||
|
- Minor: Duplicate spaces now count towards the display message length. (#3002)
|
||||||
- Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121)
|
- Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121)
|
||||||
- Bugfix: Moderation mode and active filters are now preserved when opening a split as a popup. (#3113, #3130)
|
- Bugfix: Moderation mode and active filters are now preserved when opening a split as a popup. (#3113, #3130)
|
||||||
- Bugfix: Fixed a bug that caused all badge highlights to use the same color. (#3132, #3134)
|
- Bugfix: Fixed a bug that caused all badge highlights to use the same color. (#3132, #3134)
|
||||||
|
|||||||
@@ -639,9 +639,6 @@ void SplitInput::editTextChanged()
|
|||||||
this->textChanged.invoke(text);
|
this->textChanged.invoke(text);
|
||||||
|
|
||||||
text = text.trimmed();
|
text = text.trimmed();
|
||||||
static QRegularExpression spaceRegex("\\s\\s+");
|
|
||||||
text = text.replace(spaceRegex, " ");
|
|
||||||
|
|
||||||
text =
|
text =
|
||||||
app->commands->execCommand(text, this->split_->getChannel(), true);
|
app->commands->execCommand(text, this->split_->getChannel(), true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user