diff --git a/composables/users.ts b/composables/users.ts index 59bdffd7..e65a6bb9 100644 --- a/composables/users.ts +++ b/composables/users.ts @@ -60,6 +60,8 @@ export const currentServer = computed(() => currentUser.value?.server || export const currentNodeInfo = computed>(() => nodes.value[currentServer.value] || null) export const isGotoSocial = computed(() => currentNodeInfo.value?.software?.name === 'gotosocial') export const isGlitchEdition = computed(() => currentInstance.value?.version?.includes('+glitch')) +export const isAkkoma = computed(() => currentNodeInfo.value?.software?.name === 'akkoma') +export const isPleroma = computed(() => currentNodeInfo.value?.software?.name === 'pleroma') export function useUsers() { return users