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-07-20 18:34:51 +0300
committerJoas Schilling <coding@schilljs.com>2018-07-27 12:01:38 +0300
commitee4ba11a53aa73225bab7c717e18a7d3aecfd92e (patch)
tree3aeaf00acb8054b074bf0f678bbdb8ffa4996515 /lib/Manager.php
parenta87de565afbd5ee73dffaad26c594dc4d4e928a8 (diff)
Start with system chat messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Manager.php')
-rw-r--r--lib/Manager.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Manager.php b/lib/Manager.php
index 27e5340d0..f9a46b1e2 100644
--- a/lib/Manager.php
+++ b/lib/Manager.php
@@ -398,7 +398,11 @@ class Manager {
$query->execute();
$roomId = $query->getLastInsertId();
- return $this->getRoomById($roomId);
+ $room = $this->getRoomById($roomId);
+
+ $this->dispatcher->dispatch(Room::class . '::createRoom', new GenericEvent($room));
+
+ return $room;
}
/**