ActivityPub-federated video streaming platform using P2P directly in your web browser
Support handles starting with @
Chocobozzzc17a55fbca5f
diff --git a/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts b/client/src/app/shared/shared-user-subscription/remote-subscribe.component.tsindex 61bcd53453..295b0812a1 100644--- a/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts+++ b/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts@@ -35,7 +35,9 @@ export class RemoteSubscribeComponent extends FormReactive implements OnInit {}formValidated () {- const address = this.form.value['text']+ let address = this.form.value['text'] || ''+ address = address.replace(/^@/, '')+const [ username, hostname ] = address.split('@')const protocol = window.location.protocol