mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-25 17:53:48 +02:00
displayName hex in JSON tab
This commit is contained in:
@@ -19,7 +19,8 @@ import {
|
||||
isRealInstance,
|
||||
parseLocation,
|
||||
removeEmojis,
|
||||
replaceBioSymbols
|
||||
replaceBioSymbols,
|
||||
textToHex
|
||||
} from '../shared/utils';
|
||||
import {
|
||||
avatarRequest,
|
||||
@@ -1226,12 +1227,16 @@ export const useUserStore = defineStore('User', () => {
|
||||
if (D.id === currentUser.value.id) {
|
||||
const treeData = {
|
||||
...currentUser.value,
|
||||
...D.ref
|
||||
...D.ref,
|
||||
_hexDisplayName: textToHex(D.ref?.displayName)
|
||||
};
|
||||
D.treeData = buildTreeData(treeData);
|
||||
return;
|
||||
}
|
||||
D.treeData = buildTreeData(D.ref);
|
||||
D.treeData = buildTreeData({
|
||||
...D.ref,
|
||||
_hexDisplayName: textToHex(D.ref?.displayName)
|
||||
});
|
||||
}
|
||||
|
||||
async function lookupUser(ref) {
|
||||
|
||||
Reference in New Issue
Block a user