Skip to content

Commit 30b30d0

Browse files
Schnoopsusnux
authored andcommitted
fix(profile): add rel tag for ferdiverse link to make verification possible
Signed-off-by: Thorsten Daners <thorsten@daners.info>
1 parent 97df391 commit 30b30d0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

apps/profile/src/views/ProfileApp.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ function openStatusModal() {
159159
class="user-actions__primary"
160160
:href="primaryAction.target"
161161
:icon="primaryAction.icon"
162-
:target="primaryAction.id === 'phone' ? '_self' : '_blank'">
162+
:target="primaryAction.id === 'phone' ? '_self' : '_blank'"
163+
:rel="primaryAction.id === 'fediverse' ? 'me' : undefined">
163164
<template #icon>
164165
<!-- Fix for https://github.com/nextcloud-libraries/nextcloud-vue/issues/2315 -->
165166
<img :src="primaryAction.icon" alt="" class="user-actions__primary__icon">
@@ -172,7 +173,8 @@ function openStatusModal() {
172173
:key="action.id"
173174
:closeAfterClick="true"
174175
:href="action.target"
175-
:target="action.id === 'phone' ? '_self' : '_blank'">
176+
:target="action.id === 'phone' ? '_self' : '_blank'"
177+
:rel="primaryAction.id === 'fediverse' ? 'me' : undefined">
176178
<template #icon>
177179
<!-- Fix for https://github.com/nextcloud-libraries/nextcloud-vue/issues/2315 -->
178180
<img :src="action.icon" alt="" class="user-actions__other__icon">

0 commit comments

Comments
 (0)