1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Update RoomEditForm according to RoomAddForm

This commit is contained in:
Maximilian Mader 2015-01-10 00:45:16 +01:00
parent 8c68694c00
commit 418443bb45

View File

@ -89,7 +89,8 @@ public function save() {
// update room
$this->objectAction = new \chat\data\room\RoomAction(array($this->roomID), 'update', array('data' => array_merge($this->additionalFields, array(
'title' => $this->title,
'topic' => $this->topic
'topic' => $this->topic,
'maxUsers' => $this->maxUsers
))));
$this->objectAction->executeAction();
@ -113,6 +114,7 @@ public function readData() {
$this->title = $this->roomObj->title;
$this->topic = $this->roomObj->topic;
$this->maxUsers = $this->roomObj->maxUsers;
}
}