Changeset e951b7c in Klonkt for src/middleware/render.js
- Timestamp:
- 06/25/2026 05:22:51 AM (3 months ago)
- Branches:
- main
- Children:
- 4c9c60b
- Parents:
- d7526bd
- File:
-
- 1 edited
-
src/middleware/render.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/middleware/render.js
rd7526bd re951b7c 19 19 import { getSetting } from '../services/SettingsService.js'; 20 20 import { isPremium as isPremiumInstance, premiumEnabled, premiumUnlocked } from '../services/PatreonService.js'; 21 import { unreadCount as notifUnreadCount } from '../services/NotificationService.js';21 import ActivityPubService from '../services/ActivityPubService.js'; 22 22 import { audioEnabled as audioFeatureEnabled } from '../config/features.js'; 23 23 import { PLATFORMS as PLATFORMS_CATALOG } from '../services/PlatformIcons.js'; … … 118 118 langs: LANGS.map((c) => ({ code: c, name: LANG_NAMES[c], active: c === _lang })), 119 119 timezone: getSetting('timezone') || '', 120 notifUnread: _u ? notifUnreadCount(_u.id) : 0,120 notifUnread: (canManageFedi && _site) ? ActivityPubService.countUnseenNotifications(_site.slug) : 0, 121 121 userOwnsSite, 122 122 canSeeBeheer,
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)