mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 12:01:27 +00:00
Fix user info
This commit is contained in:
parent
b35d62ecbb
commit
384179e518
|
@ -60,7 +60,7 @@ func (c *Client) GetAccount(ctx context.Context, id string) (*Account, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if account.Pleroma == nil {
|
if account.Pleroma == nil || len(account.Pleroma.Relationship.ID) < 1 {
|
||||||
rs, err := c.GetAccountRelationships(ctx, []string{id})
|
rs, err := c.GetAccountRelationships(ctx, []string{id})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in a new issue