diff --git a/client/css/style.css b/client/css/style.css index df1db406..44677dc2 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -1566,10 +1566,6 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ -webkit-overflow-scrolling: touch; } -#chat .names-filtered { - display: none; -} - #chat .names .user { display: block; line-height: 1.6; diff --git a/client/js/utils.js b/client/js/utils.js index 015ab6f5..f3c73a8d 100644 --- a/client/js/utils.js +++ b/client/js/utils.js @@ -37,7 +37,7 @@ function hasRoleInChannel(channel, roles, nick) { const channelID = channel.attr("data-id"); const network = $("#sidebar .network").has(`.chan[data-id="${channelID}"]`); const target = nick || network.attr("data-nick"); - const user = channel.find(`.names-original .user[data-name="${escape(target)}"]`).first(); + const user = channel.find(`.names .user[data-name="${escape(target)}"]`).first(); return user.parent().is("." + roles.join(", .")); }