feat(activitypub): show world category in selectors

Allows for posting to World, showing World in unread/recent/etc

also removes now-unnecessary special case for privileges
This commit is contained in:
Opliko
2024-03-18 01:50:11 +01:00
parent 5f60f75f7d
commit 953231fc90
2 changed files with 4 additions and 6 deletions

View File

@@ -25,12 +25,6 @@ privilegesController.get = async function (req, res) {
cid: 'admin',
name: '[[admin/manage/privileges:admin]]',
icon: 'fa-lock',
}, {
cid: -1,
name: '[[activitypub:category.name]]',
icon: 'fa-globe',
bgColor: '#0000ff',
color: '#ffffff',
}];
let selectedCategory;