Bring up to date with main

This commit is contained in:
tsmethurst 2021-06-27 14:23:23 +02:00
commit 19f0cd710b
2 changed files with 3 additions and 1 deletions

View file

@ -14,6 +14,8 @@ import (
) )
func (f *federator) DereferenceRemoteAccount(username string, remoteAccountID *url.URL) (typeutils.Accountable, error) { func (f *federator) DereferenceRemoteAccount(username string, remoteAccountID *url.URL) (typeutils.Accountable, error) {
f.startHandshake(username, remoteAccountID)
defer f.stopHandshake(username, remoteAccountID)
transport, err := f.GetTransportForUser(username) transport, err := f.GetTransportForUser(username)
if err != nil { if err != nil {

View file

@ -180,6 +180,6 @@ func dereferenceByNodeInfo(t *transport, c context.Context, iri *url.URL) (*gtsm
if nodeinfoHref == nil { if nodeinfoHref == nil {
return nil, errors.New("could not find nodeinfo rel in well known response") return nil, errors.New("could not find nodeinfo rel in well known response")
} }
aaaaaaaaaaaaaaaaa // do the second query // TODO: do the second query
return nil, errors.New("not yet implemented") return nil, errors.New("not yet implemented")
} }