diff --git a/src/sites/twitch-twilight/modules/chat/input.jsx b/src/sites/twitch-twilight/modules/chat/input.jsx index 7cb95b04..eea54d8a 100644 --- a/src/sites/twitch-twilight/modules/chat/input.jsx +++ b/src/sites/twitch-twilight/modules/chat/input.jsx @@ -942,18 +942,18 @@ export default class Input extends Module { getEmoteSuggestions(input, inst) { + if ( ! inst._ffz_channel_login ) { + const parent = this.fine.searchParent(inst, 'chat-input', 50); + if ( parent ) + this.updateEmoteCompletion(parent, inst); + } + const user = inst._ffz_user, channel_id = inst._ffz_channel_id, channel_login = inst._ffz_channel_login; - if ( ! channel_login ) { - const parent = this.fine.searchParent(inst, 'chat-input', 50); - if ( parent ) - this.updateEmoteCompletion(parent, inst); - - if ( ! channel_login ) - return []; - } + if ( ! channel_login ) + return []; let cache = inst.ffz_ffz_cache; if ( ! cache || cache.user_id !== user?.id || cache.user_login !== user?.login || cache.channel_id !== channel_id || cache.channel_login !== channel_login )