mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Fix unfriended date
This commit is contained in:
@@ -949,22 +949,23 @@ export const useUserStore = defineStore('User', () => {
|
||||
notification.created_at
|
||||
);
|
||||
}
|
||||
if (!D.dateFriended) {
|
||||
if (notification.type === 'Unfriend') {
|
||||
D.unFriended = true;
|
||||
if (
|
||||
!appearanceSettingsStore.hideUnfriends
|
||||
) {
|
||||
D.dateFriended =
|
||||
notification.created_at;
|
||||
}
|
||||
}
|
||||
if (notification.type === 'Friend') {
|
||||
D.unFriended = false;
|
||||
if (
|
||||
!D.dateFriended &&
|
||||
notification.type === 'Unfriend'
|
||||
) {
|
||||
D.unFriended = true;
|
||||
if (
|
||||
!appearanceSettingsStore.hideUnfriends
|
||||
) {
|
||||
D.dateFriended =
|
||||
notification.created_at;
|
||||
}
|
||||
}
|
||||
if (notification.type === 'Friend') {
|
||||
D.unFriended = false;
|
||||
D.dateFriended =
|
||||
notification.created_at;
|
||||
}
|
||||
if (
|
||||
notification.type === 'Friend' ||
|
||||
(notification.type === 'Unfriend' &&
|
||||
|
||||
Reference in New Issue
Block a user