accountVideosCount: number
accountDescriptionHTML = ''
accountDescriptionExpanded = false
accountVideosCount: number
accountDescriptionHTML = ''
accountDescriptionExpanded = false
private authService: AuthService,
private videoService: VideoService,
private markdown: MarkdownService,
private authService: AuthService,
private videoService: VideoService,
private markdown: MarkdownService,
- this.accountFollowerTitle = $localize`${account.followersCount} direct account followers`
-
- this.prependModerationActions = undefined
-
- this.accountDescriptionHTML = await this.markdown.textMarkdownToHTML(account.description)
+ this.accountDescriptionHTML = await this.markdown.textMarkdownToHTML({
+ markdown: account.description,
+ withEmoji: true,
+ withHtml: true
+ })
this.updateModerationActions()
this.loadUserIfNeeded(account)
this.loadAccountVideosCount()
this.updateModerationActions()
this.loadUserIfNeeded(account)
this.loadAccountVideosCount()
// It's not our account, we can report it
this.prependModerationActions = [
// It's not our account, we can report it
this.prependModerationActions = [
{
label: $localize`Report this account`,
handler: () => this.showReportModal()
{
label: $localize`Report this account`,
handler: () => this.showReportModal()