-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Can't cancel a pending private-account follow request #785
Copy link
Copy link
Labels
apiREST API, Streaming API, Web Push APIREST API, Streaming API, Web Push APIbugSomething isn't workingSomething isn't workingexpertise wantedExtra expertise is needed for implementationExtra expertise is needed for implementationuiFront-end, designFront-end, design
Description
My mastodon instance where having SSL issues so others instances can't talk with me.
I made a follow request to a protected account.
I repaired the SSL issue.
I can't cancel the follow request.
I think this may be the same if the person doesn't accept or refuse the request ?
I tried using the API (Mastodon.py) but an unfollow respond with:
method=POST path=/api/v1/accounts/3/unfollow format=*/* controller=Api::V1::AccountsController action=unfollow status=500 error='NoMethodError: undefined method `account' for nil:NilClass' duration=22.79 view=0.00 db=4.39
[xxx] NoMethodError (undefined method `account' for nil:NilClass):
[xxx] app/services/unfollow_service.rb:16:in `build_xml'
[xxx] app/services/unfollow_service.rb:9:in `call'
[xxx] app/controllers/api/v1/accounts_controller.rb:89:in `u
And a follow:
In [21]: mastodon.account_follow(3)
Out[21]: {'error': 'Validation failed: Account has already been taken'}
The user exists in my instance:
In [22]: mastodon.account(3)
Out[22]:
{'acct': '[email protected]',
'avatar': 'xxx',
'created_at': '2017-04-02T21:28:41.124Z',
'display_name': 'xxx',
'followers_count': 0,
'following_count': 0,
'header': 'xxx',
'id': 3,
'locked': True,
'note': 'xxx',
'statuses_count': 3,
'url': 'https://mastodon.social/@xxx',
'username': 'xxx'}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apiREST API, Streaming API, Web Push APIREST API, Streaming API, Web Push APIbugSomething isn't workingSomething isn't workingexpertise wantedExtra expertise is needed for implementationExtra expertise is needed for implementationuiFront-end, designFront-end, design