Added emote completion with : to the whispers channel (#2076)

This commit is contained in:
yodax
2020-10-17 09:59:15 -04:00
committed by GitHub
parent fb6b65faaa
commit 55b98f93db
3 changed files with 19 additions and 12 deletions
+3 -1
View File
@@ -460,8 +460,10 @@ void SplitInput::onCursorPositionChanged()
void SplitInput::updateColonMenu()
{
auto channel = this->split_->getChannel().get();
if (!getSettings()->emoteCompletionWithColon ||
!dynamic_cast<TwitchChannel *>(this->split_->getChannel().get()))
(!dynamic_cast<TwitchChannel *>(channel) &&
!(channel->getType() == Channel::Type::TwitchWhispers)))
{
this->hideColonMenu();
return;