mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Fix notification seen
This commit is contained in:
@@ -3251,10 +3251,10 @@ speechSynthesis.getVoices();
|
||||
});
|
||||
break;
|
||||
|
||||
case 'notification-see':
|
||||
case 'see-notification':
|
||||
this.$emit('NOTIFICATION:SEE', {
|
||||
params: {
|
||||
notificationId: content.notificationId
|
||||
notificationId: content
|
||||
}
|
||||
});
|
||||
break;
|
||||
@@ -3437,7 +3437,10 @@ speechSynthesis.getVoices();
|
||||
socket.onmessage = ({ data }) => {
|
||||
try {
|
||||
var json = JSON.parse(data);
|
||||
json.content = JSON.parse(json.content);
|
||||
try {
|
||||
json.content = JSON.parse(json.content);
|
||||
} catch (err) {
|
||||
}
|
||||
if ($app.debugWebSocket) {
|
||||
var displayName = '';
|
||||
if (this.cachedUsers.has(json.content.userId)) {
|
||||
|
||||
Reference in New Issue
Block a user