mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 15:27:29 -06:00
Bring up to date with main
This commit is contained in:
parent
1f70d64a7e
commit
19f0cd710b
2 changed files with 3 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue