clean up display name for pnut user
This commit is contained in:
parent
05893172f8
commit
24d1258265
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue