diff options
author | Joas Schilling <coding@schilljs.com> | 2018-01-15 18:39:28 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-01-26 14:20:47 +0300 |
commit | a6f6e7a87b45b75647a34459fd1b1550a5c8d87d (patch) | |
tree | f1c39954c3ace198b545b7ffdabfccfd7b2a10a8 /lib/Manager.php | |
parent | bf738393c09990e631242861a6c76b9762eedf5b (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.php | 5 |
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); } /** |