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-02-20 19:48:05 +0300
committerJoas Schilling <coding@schilljs.com>2019-02-27 17:26:50 +0300
commit7e54634fb53e5a51ab36212b0945d086f1a1573f (patch)
treeebc61fe4b4561bf99a4ad5ece770e32a960de0a1 /lib/Signaling/BackendNotifier.php
parent1a4f96436a88e6f0a6b4fe4a599721ca1f166f0b (diff)
Make room names non-optional
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Signaling/BackendNotifier.php')
-rw-r--r--lib/Signaling/BackendNotifier.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Signaling/BackendNotifier.php b/lib/Signaling/BackendNotifier.php
index 81d02467a..24fb78dda 100644
--- a/lib/Signaling/BackendNotifier.php
+++ b/lib/Signaling/BackendNotifier.php
@@ -132,7 +132,7 @@ class BackendNotifier {
// find a better way to notify existing users to update the room.
'alluserids' => $room->getParticipantUserIds(),
'properties' => [
- 'name' => $room->getName(),
+ 'name' => $room->getDisplayName(''),
'type' => $room->getType(),
],
],
@@ -156,7 +156,7 @@ class BackendNotifier {
// find a better way to notify existing users to update the room.
'alluserids' => $room->getParticipantUserIds(),
'properties' => [
- 'name' => $room->getName(),
+ 'name' => $room->getDisplayName(''),
'type' => $room->getType(),
],
],
@@ -180,7 +180,7 @@ class BackendNotifier {
// find a better way to notify existing users to update the room.
'alluserids' => $room->getParticipantUserIds(),
'properties' => [
- 'name' => $room->getName(),
+ 'name' => $room->getDisplayName(''),
'type' => $room->getType(),
],
],
@@ -200,7 +200,7 @@ class BackendNotifier {
'update' => [
'userids' => $room->getParticipantUserIds(),
'properties' => [
- 'name' => $room->getName(),
+ 'name' => $room->getDisplayName(''),
'type' => $room->getType(),
],
],