clean up display name for pnut user

This commit is contained in:
Morgan McMillian 2022-07-20 16:29:53 -07:00
parent 05893172f8
commit 24d1258265

View file

@ -210,7 +210,7 @@ def matrix_id_from_pnut(username):
def matrix_display_from_pnut(user):
if 'name' in user:
display = user.name + " <@" + user.username + "> (pnut)"
display = user.name + " (@" + user.username + ")"
else:
display = "@" + user.username
return display