mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Deleted users blurblog title
This commit is contained in:
parent
e626428967
commit
05dd966200
1 changed files with 2 additions and 1 deletions
|
@ -596,7 +596,8 @@ def feed_unread_count(request):
|
|||
else:
|
||||
feed_title = feed_ids[0]
|
||||
elif len(social_feed_ids) == 1:
|
||||
feed_title = MSocialProfile.objects.get(user_id=social_feed_ids[0].replace('social:', '')).username
|
||||
social_profile = MSocialProfile.objects.get(user_id=social_feed_ids[0].replace('social:', ''))
|
||||
feed_title = social_profile.user.username if social_profile.user else "[deleted]"
|
||||
else:
|
||||
feed_title = "%s feeds" % (len(feeds) + len(social_feeds))
|
||||
logging.user(request, "~FBUpdating unread count on: %s" % feed_title)
|
||||
|
|
Loading…
Add table
Reference in a new issue