Invite fix, shortName fixes and other fixes

This commit is contained in:
Natsumi
2022-09-26 21:39:39 +13:00
parent 418d5cc20e
commit e885a18a80
4 changed files with 505 additions and 267 deletions

View File

@@ -449,11 +449,23 @@ Vue.component('marquee-text', MarqueeText);
text = `<strong>${noty.previousDisplayName}</strong> changed their name to ${noty.displayName}`;
break;
case 'PortalSpawn':
text = 'User has spawned a portal';
if (noty.displayName) {
text = `<strong>${
noty.displayName
}</strong> has spawned a portal to ${this.displayLocation(
noty.instanceId,
noty.worldName
)}`;
} else {
text = 'User has spawned a portal';
}
break;
case 'AvatarChange':
text = `<strong>${noty.displayName}</strong> changed into avatar ${noty.name}`;
break;
case 'ChatBoxMessage':
text = `<strong>${noty.displayName}</strong> said ${noty.text}`;
break;
case 'Event':
text = noty.data;
break;