diff --git a/src/app/components/stream/user-profile/user-profile.component.html b/src/app/components/stream/user-profile/user-profile.component.html index fce38eff..699d64a4 100644 --- a/src/app/components/stream/user-profile/user-profile.component.html +++ b/src/app/components/stream/user-profile/user-profile.component.html @@ -41,7 +41,7 @@
{{displayedAccount | accountEmoji }} has moved to @{{displayedAccount.moved.acct }}
diff --git a/src/app/components/stream/user-profile/user-profile.component.ts b/src/app/components/stream/user-profile/user-profile.component.ts index 8403b9c0..6abbb0a7 100644 --- a/src/app/components/stream/user-profile/user-profile.component.ts +++ b/src/app/components/stream/user-profile/user-profile.component.ts @@ -210,8 +210,13 @@ export class UserProfileComponent implements OnInit { this.load(this.lastAccountName); } - browseAccount(accountName: string): boolean { + browseAccount(accountName: string): void { this.browseAccountEvent.next(accountName); + } + + openMigratedAccount(account: Account): boolean { + const handle = this.toolsService.getAccountFullHandle(account); + this.browseAccount(handle); return false; }