user displayname
This commit is contained in:
@@ -137,4 +137,8 @@ class User extends DatabaseEntity {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public function getDisplayName(): string {
|
||||
return !empty($this->fullName) ? $this->fullName : $this->name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user