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>2018-01-15 18:39:28 +0300
committerJoas Schilling <coding@schilljs.com>2018-01-26 14:20:47 +0300
commita6f6e7a87b45b75647a34459fd1b1550a5c8d87d (patch)
treef1c39954c3ace198b545b7ffdabfccfd7b2a10a8 /lib/Manager.php
parentbf738393c09990e631242861a6c76b9762eedf5b (diff)
Use search input as room name for "New public call"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Manager.php')
-rw-r--r--lib/Manager.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Manager.php b/lib/Manager.php
index 446406d04..cb71e8643 100644
--- a/lib/Manager.php
+++ b/lib/Manager.php
@@ -336,10 +336,11 @@ class Manager {
}
/**
+ * @param string $name
* @return Room
*/
- public function createPublicRoom() {
- return $this->createRoom(Room::PUBLIC_CALL);
+ public function createPublicRoom($name = '') {
+ return $this->createRoom(Room::PUBLIC_CALL, $name);
}
/**