diff options
author | Joas Schilling <coding@schilljs.com> | 2019-06-25 20:09:08 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-06-25 20:09:08 +0300 |
commit | 186c755403b6cf8b37e502872ad446e21d2fb046 (patch) | |
tree | 4cbec737d79c22fdbed3d273a6d92dcd69e95992 /lib/Manager.php | |
parent | 4b65fe3e1b12780a30f5a1af9b0c8db848c3da56 (diff) |
Replace the room name for one-to-one chats with deleted users
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Manager.php')
-rw-r--r-- | lib/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Manager.php b/lib/Manager.php index fd70f5731..473482225 100644 --- a/lib/Manager.php +++ b/lib/Manager.php @@ -663,7 +663,7 @@ class Manager { if ($otherParticipant === '' && $room->getName() !== '') { $user = $this->userManager->get($room->getName()); - $otherParticipant = $user instanceof IUser ? $user->getDisplayName() : $participantId; + $otherParticipant = $user instanceof IUser ? $user->getDisplayName() : $this->l->t('Deleted user (%s)', $room->getName()); } return $otherParticipant; |