fix: Show Emoji Completion in IRC Channels (#4021)
This commit is contained in:
@@ -110,10 +110,10 @@ void InputCompletionPopup::updateEmotes(const QString &text, ChannelPtr channel)
|
||||
addEmotes(emotes, *bttvG, text, "Global BetterTTV");
|
||||
if (auto ffzG = getApp()->twitch->getFfzEmotes().emotes())
|
||||
addEmotes(emotes, *ffzG, text, "Global FrankerFaceZ");
|
||||
|
||||
addEmojis(emotes, getApp()->emotes->emojis.emojis, text);
|
||||
}
|
||||
|
||||
addEmojis(emotes, getApp()->emotes->emojis.emojis, text);
|
||||
|
||||
// if there is an exact match, put that emote first
|
||||
for (size_t i = 1; i < emotes.size(); i++)
|
||||
{
|
||||
|
||||
@@ -661,8 +661,7 @@ void SplitInput::updateCompletionPopup()
|
||||
{
|
||||
auto channel = this->split_->getChannel().get();
|
||||
auto tc = dynamic_cast<TwitchChannel *>(channel);
|
||||
bool showEmoteCompletion =
|
||||
channel->isTwitchChannel() && getSettings()->emoteCompletionWithColon;
|
||||
bool showEmoteCompletion = getSettings()->emoteCompletionWithColon;
|
||||
bool showUsernameCompletion =
|
||||
tc && getSettings()->showUsernameCompletionMenu;
|
||||
if (!showEmoteCompletion && !showUsernameCompletion)
|
||||
|
||||
Reference in New Issue
Block a user