mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 15:53:50 +02:00
Fixes
This commit is contained in:
@@ -66,11 +66,12 @@
|
||||
return str;
|
||||
};
|
||||
for (const userId of friends) {
|
||||
const { ref } = props.friends.get(userId);
|
||||
let discord = '';
|
||||
if (typeof ref === 'undefined') {
|
||||
const friend = props.friends.get(userId);
|
||||
if (typeof friend?.ref === 'undefined') {
|
||||
continue;
|
||||
}
|
||||
const ref = friend.ref;
|
||||
const name = ref.displayName;
|
||||
if (ref.statusDescription) {
|
||||
const statusRegex = /(?:discord|dc|dis)(?: |=|:|˸|;)(.*)/gi.exec(ref.statusDescription);
|
||||
|
||||
Reference in New Issue
Block a user