Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

fix account URI in remote comment modal (cleanup)

Rigel Kent040a506bcf93
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html
index 30664f9785..b58a56596e 100644
--- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html
+++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html
@@ -41,7 +41,7 @@
<span i18n>
If you have an account on Mastodon or Pleroma, you can open it directly in their interface:
</span>
- <my-remote-subscribe [interact]="true" account="{{ getUrl() }}"></my-remote-subscribe>
+ <my-remote-subscribe [interact]="true" [account]="getUrl()"></my-remote-subscribe>
</div>
<div class="modal-footer inputs">
<span i18n class="action-button action-button-cancel" role="button" (click)="hideVisitorModal()">
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts
index af47f3115b..b374ed7d56 100644
--- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts
+++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts
@@ -32,7 +32,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit {
@ViewChild('textarea') private textareaElement: ElementRef
private addingComment = false
- private uri: string
constructor (
protected formValidatorService: FormValidatorService,