diff --git a/package.json b/package.json index f12ffbe5..47224f13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sengi", - "version": "0.20.0", + "version": "0.20.1", "license": "AGPL-3.0-or-later", "main": "main-electron.js", "description": "A multi-account desktop client for Mastodon and Pleroma", diff --git a/src/app/components/floating-column/add-new-account/add-new-account.component.ts b/src/app/components/floating-column/add-new-account/add-new-account.component.ts index d46514b2..064ad8af 100644 --- a/src/app/components/floating-column/add-new-account/add-new-account.component.ts +++ b/src/app/components/floating-column/add-new-account/add-new-account.component.ts @@ -22,7 +22,7 @@ export class AddNewAccountComponent implements OnInit { private instance: string; @Input() set setInstance(value: string) { - this.instance = value; + this.instance = value.trim(); this.checkComrad(); } get setInstance(): string { diff --git a/src/app/components/stream/status/status.component.html b/src/app/components/stream/status/status.component.html index 87d8af14..d9463266 100644 --- a/src/app/components/stream/status/status.component.html +++ b/src/app/components/stream/status/status.component.html @@ -92,7 +92,7 @@ sensitive content - {{ contentWarningText }} +

'; if (this.hasNote) { this.note = this.emojiConverter.applyEmojis(account.emojis, account.note, EmojiTypeEnum.medium); @@ -178,6 +178,18 @@ export class UserProfileComponent implements OnInit { }); } + private fixPleromaFieldsUrl(acc: Account): Account { + if(acc.fields){ + acc.fields.forEach(f => { + if(f.value.includes('