Skip to content

Commit

Permalink
fixes #140
Browse files Browse the repository at this point in the history
  • Loading branch information
tgloeggl committed Nov 20, 2020
1 parent 6f3e592 commit 407c0ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Routes/Config/ConfigListCourse.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private function setDefaultServerProfiles ($config, $cid)
foreach ($settings['servers'] as $server_index => $server_values) {

//Take care of max participants and maxAllowedParticipants
$server_defaults[$server_index]['totalMembers'] = $members_count;
$server_defaults[$server_index]['totalMembers'] = max(20, $members_count + 5);
if (isset($server_values['maxParticipants']) && $server_values['maxParticipants'] > 0) {
$server_defaults[$server_index]['maxAllowedParticipants'] = $server_values['maxParticipants'];
if ($members_count >= $server_values['maxParticipants']) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Meetings",
"version": "2.38.0",
"version": "2.39.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion plugin.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pluginname=Meetings
pluginclassname=MeetingPlugin
origin=elan-ev
version=2.38
version=2.39
studipMinVersion=4.0
studipMaxVersion=4.6.99
description=Virtueller Raum, mit dem Live-Online-Treffen, Veranstaltungen und Videokonferenzen durchgeführt werden können.
Expand Down
2 changes: 1 addition & 1 deletion vueapp/components/MeetingAdd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
: ''
: ''
)"
:min="(feature['name'] == 'maxParticipants') ? 0 : ''"
:min="(feature['name'] == 'maxParticipants') ? 20 : ''"
@change="(feature['name'] == 'maxParticipants') ? checkPresets() : ''"
v-model.trim="room['features'][feature['name']]"
:placeholder="feature['value'] ? feature['value'] : ''"
Expand Down

0 comments on commit 407c0ec

Please sign in to comment.