mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
Remove username field
This commit is contained in:
@@ -1053,7 +1053,6 @@ speechSynthesis.getVoices();
|
||||
args.ref = this.applyCurrentUser(json);
|
||||
this.applyUser({
|
||||
id: json.id,
|
||||
username: json.username,
|
||||
displayName: json.displayName,
|
||||
bio: json.bio,
|
||||
bioLinks: json.bioLinks,
|
||||
@@ -1455,7 +1454,6 @@ speechSynthesis.getVoices();
|
||||
if (typeof ref === 'undefined') {
|
||||
ref = {
|
||||
id: '',
|
||||
username: '',
|
||||
displayName: '',
|
||||
userIcon: '',
|
||||
bio: '',
|
||||
@@ -7642,12 +7640,6 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
var NAME = ctx.name.toUpperCase();
|
||||
var match = NAME.includes(QUERY);
|
||||
if (!match) {
|
||||
var uname = String(ctx.ref.username);
|
||||
match =
|
||||
uname.toUpperCase().includes(QUERY) &&
|
||||
!uname.startsWith('steam_');
|
||||
}
|
||||
if (!match && ctx.memo) {
|
||||
match = String(ctx.memo).toUpperCase().includes(QUERY);
|
||||
}
|
||||
@@ -17568,14 +17560,7 @@ speechSynthesis.getVoices();
|
||||
$app.methods.friendsListSearchChange = function () {
|
||||
var filters = [...this.friendsListSearchFilters];
|
||||
if (filters.length === 0) {
|
||||
filters = [
|
||||
'Display Name',
|
||||
'User Name',
|
||||
'Rank',
|
||||
'Status',
|
||||
'Bio',
|
||||
'Memo'
|
||||
];
|
||||
filters = ['Display Name', 'Rank', 'Status', 'Bio', 'Memo'];
|
||||
}
|
||||
var results = [];
|
||||
if (this.friendsListSearch) {
|
||||
@@ -17590,12 +17575,6 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
if (query && filters) {
|
||||
var match = false;
|
||||
if (!match && filters.includes('User Name')) {
|
||||
var uname = String(ctx.ref.username);
|
||||
match =
|
||||
uname.toUpperCase().includes(query) &&
|
||||
!uname.startsWith('steam_');
|
||||
}
|
||||
if (
|
||||
!match &&
|
||||
filters.includes('Display Name') &&
|
||||
|
||||
Reference in New Issue
Block a user