Skip to content

Commit

Permalink
web UI: followers/ing page bug fix, handle missing handle
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Jan 6, 2025
1 parent d957fe0 commit 9e2479e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,10 +829,10 @@ def user_link(self, name=True, handle=True, pictures=False, proto=None,
img = f'<img src="{pic}" class="profile"> '

if handle:
handle_str = self.handle_as(proto)
handle_str = self.handle_as(proto) or ''

if name and self.name() != handle_str:
name_str = self.name()
name_str = self.name() or ''

if handle_str and name_str:
dot = ' &middot; '
Expand Down

0 comments on commit 9e2479e

Please sign in to comment.