Skip to content

Commit

Permalink
fix pixelfed get_activites_response()
Browse files Browse the repository at this point in the history
fixes #232
  • Loading branch information
snarfed committed Feb 26, 2021
1 parent 0846590 commit ca4f506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions granary/pixelfed.py
Expand Up @@ -28,8 +28,8 @@ def status_url(self, username, id):
return urllib.parse.urljoin(self.instance, '/p/%s/%s' % (
urllib.parse.quote(username), id))

def get_activities_response(self, **kwargs):
def get_activities_response(self, *args, **kwargs):
if kwargs.get('fetch_mentions'):
logging.info("Ignoring fetch_mentions=True since Pixelfed doesn't yet support notifications")
kwargs['fetch_mentions'] = False
return super().get_activities_response(**kwargs)
return super().get_activities_response(*args, **kwargs)

0 comments on commit ca4f506

Please sign in to comment.