Skip to content

Commit

Permalink
fix empty username
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Sep 18, 2024
1 parent f2328f6 commit dc49c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revolt_bridge_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def to_color(color):
return None

if 'bridge' in special.keys():
name = special['bridge']['name']
name = special['bridge']['name'] or 'Empty username'
if len(name) > 32:
name = name[:-(len(name)-32)]
if 'emoji' in special['bridge'].keys():
Expand Down

0 comments on commit dc49c87

Please sign in to comment.