Store AP handles consistently

This ensures handles are always stored without leading @ symbol.
This commit is contained in:
Matt Baer 2020-03-17 13:42:09 -04:00
parent a9bed9fea9
commit 471a9e0602
1 changed files with 1 additions and 0 deletions

View File

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