Store AP handles consistently

This ensures handles are always stored without leading @ symbol.
pull/282/head
Matt Baer 5 years ago
parent a9bed9fea9
commit 471a9e0602
  1. 1
      database.go

@ -2605,6 +2605,7 @@ func handleFailedPostInsert(err error) error {
}
func (db *datastore) GetProfilePageFromHandle(app *App, handle string) (string, error) {
handle = strings.TrimLeft(handle, "@")
actorIRI := ""
remoteUser, err := getRemoteUserFromHandle(app, handle)
if err != nil {

Loading…
Cancel
Save