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