Mark usernames with @.

This commit is contained in:
Jan Böhmer 2020-02-06 19:27:24 +01:00
parent 73c2aa232d
commit 743423432e
3 changed files with 3 additions and 3 deletions

View file

@ -513,7 +513,7 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
public function getFullName(bool $including_username = false): string
{
if ($including_username) {
return sprintf('%s %s (%s)', $this->getFirstName(), $this->getLastName(), $this->getName());
return sprintf('%s %s (@%s)', $this->getFirstName(), $this->getLastName(), $this->getName());
}
return sprintf('%s %s', $this->getFirstName(), $this->getLastName());