mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Trim channelname in join channel window.
This commit is contained in:
parent
ea17d23224
commit
579c6b9bf9
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ IndirectChannel SelectChannelDialog::getSelectedChannel() const
|
||||||
case TAB_TWITCH: {
|
case TAB_TWITCH: {
|
||||||
if (this->ui_.twitch.channel->isChecked()) {
|
if (this->ui_.twitch.channel->isChecked()) {
|
||||||
return app->twitch.server->getOrAddChannel(
|
return app->twitch.server->getOrAddChannel(
|
||||||
this->ui_.twitch.channelName->text());
|
this->ui_.twitch.channelName->text().trimmed());
|
||||||
} else if (this->ui_.twitch.watching->isChecked()) {
|
} else if (this->ui_.twitch.watching->isChecked()) {
|
||||||
return app->twitch.server->watchingChannel;
|
return app->twitch.server->watchingChannel;
|
||||||
} else if (this->ui_.twitch.mentions->isChecked()) {
|
} else if (this->ui_.twitch.mentions->isChecked()) {
|
||||||
|
|
Loading…
Reference in a new issue