activitypub: process Move
activities and movedTo
field on actors #309
|
@ -1291,7 +1291,6 @@ _notification:
|
|||
yourFollowRequestAccepted: "Your follow request was accepted"
|
||||
youWereInvitedToGroup: "{userName} invited you to a group"
|
||||
pollEnded: "Poll results have become available"
|
||||
moved: "{name} has moved to a different account"
|
||||
emptyPushNotificationMessage: "Push notifications have been updated"
|
||||
_types:
|
||||
follow: "New followers"
|
||||
|
|
|
@ -88,7 +88,11 @@
|
|||
</div>
|
||||
</span>
|
||||
<span v-if="notification.type === 'move'" class="text" style="opacity: 0.6;">
|
||||
Johann150 marked this conversation as resolved
|
||||
{{ i18n.ts.moved }}
|
||||
<I18n :src="i18n.ts.movedTo">
|
||||
<template #handle>
|
||||
<MkAcct :user="notification.moveTarget"/>
|
||||
</template>
|
||||
</I18n>
|
||||
<div v-if="full"><MkFollowButton :user="notification.moveTarget" :full="true"/></div>
|
||||
</span>
|
||||
<span v-if="notification.type === 'app'" class="text">
|
||||
|
|
Loading…
Reference in a new issue
Something that might be worth refactoring in this PR but is otherwise fine: The CSS class
text
is used several times with a local override ofopacity: 0.6
it might be worth factoring out a dedicated CSS class for this likedim-notification-text
or even just a class that only applies the opacity. IIRC this will help a bit with rendering performance.Good idea in general, but this has nothing to do with
Move
activities so it should be done outside of this PR.