Merge pull request #2381 from thelounge/xpaw/autocomplete-nick

Fix your own nick in auto completion
This commit is contained in:
Jérémie Astori 2018-04-24 01:21:29 +00:00 committed by GitHub
commit 3d56e0aad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@ function rawNicks() {
return users.data("nicks"); return users.data("nicks");
} }
const me = $("#nick-value").text(); const me = $("#nick").text();
const otherUser = chan.attr("aria-label"); const otherUser = chan.attr("aria-label");
// If this is a query, add their name to autocomplete // If this is a query, add their name to autocomplete