Use display_name instead of username

This commit is contained in:
Chad Nelson
2021-01-23 18:39:55 -05:00
parent 0fe2e7a356
commit ad2baf3be5
2 changed files with 3 additions and 3 deletions

View File

@ -17,11 +17,11 @@ class RssFeed(Feed):
return obj.local_path
def title(self, obj):
return f"Status updates from {obj.username}"
return f"Status updates from {obj.display_name}"
def items(self, obj):
return get_activity_feed(obj, ['public', 'unlisted', 'followers'])
return get_activity_feed(obj, ['public', 'unlisted'])
def item_link(self, item):