mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fixes
This commit is contained in:
@@ -1416,7 +1416,6 @@ speechSynthesis.getVoices();
|
|||||||
|
|
||||||
API.logout = function () {
|
API.logout = function () {
|
||||||
this.$emit('LOGOUT');
|
this.$emit('LOGOUT');
|
||||||
webApiService.clearCookies();
|
|
||||||
// return this.call('logout', {
|
// return this.call('logout', {
|
||||||
// method: 'PUT'
|
// method: 'PUT'
|
||||||
// }).finally(() => {
|
// }).finally(() => {
|
||||||
@@ -2681,6 +2680,12 @@ speechSynthesis.getVoices();
|
|||||||
userId: json.id
|
userId: json.id
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
if (json.location === 'traveling') {
|
||||||
|
this.getUser({
|
||||||
|
userId: json.id
|
||||||
|
});
|
||||||
|
// console.log('Fetching traveling user', json.id);
|
||||||
|
} // ?? hmm
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -7542,7 +7547,7 @@ speechSynthesis.getVoices();
|
|||||||
.loginParmas.username,
|
.loginParmas.username,
|
||||||
password: pt
|
password: pt
|
||||||
};
|
};
|
||||||
this.updateStoredUser(
|
await this.updateStoredUser(
|
||||||
this.loginForm.savedCredentials[userId].user
|
this.loginForm.savedCredentials[userId].user
|
||||||
);
|
);
|
||||||
await configRepository.setBool(
|
await configRepository.setBool(
|
||||||
@@ -14898,7 +14903,7 @@ speechSynthesis.getVoices();
|
|||||||
};
|
};
|
||||||
|
|
||||||
// setting defaults
|
// setting defaults
|
||||||
var sharedFeedFilters = {
|
$app.data.sharedFeedFiltersDefaults = {
|
||||||
noty: {
|
noty: {
|
||||||
Location: 'Off',
|
Location: 'Off',
|
||||||
OnPlayerJoined: 'VIP',
|
OnPlayerJoined: 'VIP',
|
||||||
@@ -14976,12 +14981,15 @@ speechSynthesis.getVoices();
|
|||||||
Unmuted: 'On'
|
Unmuted: 'On'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$app.data.sharedFeedFilters = JSON.parse(
|
$app.data.sharedFeedFilters = $app.data.sharedFeedFiltersDefaults;
|
||||||
await configRepository.getString(
|
if (await configRepository.getString('sharedFeedFilters')) {
|
||||||
'sharedFeedFilters',
|
$app.data.sharedFeedFilters = JSON.parse(
|
||||||
JSON.stringify(sharedFeedFilters)
|
await configRepository.getString(
|
||||||
)
|
'sharedFeedFilters',
|
||||||
);
|
JSON.stringify($app.data.sharedFeedFiltersDefaults)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
if (!$app.data.sharedFeedFilters.noty.Blocked) {
|
if (!$app.data.sharedFeedFilters.noty.Blocked) {
|
||||||
$app.data.sharedFeedFilters.noty.Blocked = 'Off';
|
$app.data.sharedFeedFilters.noty.Blocked = 'Off';
|
||||||
$app.data.sharedFeedFilters.noty.Unblocked = 'Off';
|
$app.data.sharedFeedFilters.noty.Unblocked = 'Off';
|
||||||
@@ -15095,9 +15103,16 @@ speechSynthesis.getVoices();
|
|||||||
$app.methods.cancelSharedFeedFilters = async function () {
|
$app.methods.cancelSharedFeedFilters = async function () {
|
||||||
this.notyFeedFiltersDialog.visible = false;
|
this.notyFeedFiltersDialog.visible = false;
|
||||||
this.wristFeedFiltersDialog.visible = false;
|
this.wristFeedFiltersDialog.visible = false;
|
||||||
this.sharedFeedFilters = JSON.parse(
|
if (await configRepository.getString('sharedFeedFilters')) {
|
||||||
await configRepository.getString('sharedFeedFilters')
|
this.sharedFeedFilters = JSON.parse(
|
||||||
);
|
await configRepository.getString(
|
||||||
|
'sharedFeedFilters',
|
||||||
|
JSON.stringify(this.sharedFeedFiltersDefaults)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
this.sharedFeedFilters = this.sharedFeedFiltersDefaults;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$app.data.notificationPosition = await configRepository.getString(
|
$app.data.notificationPosition = await configRepository.getString(
|
||||||
@@ -24866,7 +24881,7 @@ speechSynthesis.getVoices();
|
|||||||
data: [],
|
data: [],
|
||||||
filters: [
|
filters: [
|
||||||
{
|
{
|
||||||
prop: 'name',
|
prop: 'worldName',
|
||||||
value: ''
|
value: ''
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -24966,7 +24981,7 @@ speechSynthesis.getVoices();
|
|||||||
data: [],
|
data: [],
|
||||||
filters: [
|
filters: [
|
||||||
{
|
{
|
||||||
prop: 'name',
|
prop: 'groupName',
|
||||||
value: ''
|
value: ''
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user