Group notifications

This commit is contained in:
Natsumi
2022-12-10 23:12:37 +13:00
parent e31ec71d09
commit 8e83c626d2
4 changed files with 164 additions and 5 deletions

View File

@@ -464,6 +464,18 @@ Vue.component('marquee-text', MarqueeText);
case 'DisplayName':
text = `<strong>${noty.previousDisplayName}</strong> changed their name to ${noty.displayName}`;
break;
case 'group.announcement':
text = noty.message;
break;
case 'group.informative':
text = noty.message;
break;
case 'group.invite':
text = noty.message;
break;
case 'group.joinRequest':
text = noty.message;
break;
case 'PortalSpawn':
if (noty.displayName) {
text = `<strong>${