Store AP handles consistently
This ensures handles are always stored without leading @ symbol.
This commit is contained in:
parent
a9bed9fea9
commit
471a9e0602
|
@ -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…
Reference in New Issue