feat: add chat widget areas, closes #12375

This commit is contained in:
Barış Soner Uşaklı
2024-02-28 11:41:18 -05:00
parent 1ed4d76363
commit 53b3c5d669
3 changed files with 56 additions and 44 deletions

View File

@@ -196,6 +196,9 @@ widgets.getAvailableAreas = async function () {
{ name: 'Group Page (Left)', template: 'groups/details.tpl', location: 'left' },
{ name: 'Group Page (Right)', template: 'groups/details.tpl', location: 'right' },
{ name: 'Chat Header', template: 'chats.tpl', location: 'header' },
{ name: 'Chat Sidebar', template: 'chats.tpl', location: 'sidebar' },
];
return await plugins.hooks.fire('filter:widgets.getAreas', defaultAreas);