Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-06-25 20:09:08 +0300
committerJoas Schilling <coding@schilljs.com>2019-06-25 20:09:08 +0300
commit186c755403b6cf8b37e502872ad446e21d2fb046 (patch)
tree4cbec737d79c22fdbed3d273a6d92dcd69e95992 /lib/Manager.php
parent4b65fe3e1b12780a30f5a1af9b0c8db848c3da56 (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.php2
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;