Browse Source

Support handles starting with @

pull/5340/merge
Chocobozzz 2 weeks ago
parent
commit
c17a55fbca
No known key found for this signature in database GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts

+ 3
- 1
client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts View File

@@ -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


Loading…
Cancel
Save