Browse Source
Make it explicit when the participant list changed
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/6707/head
Joas Schilling
4 years ago
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
2 changed files with
6 additions and
3 deletions
-
lib/Room.php
-
tests/php/Signaling/BackendNotifierTest.php
|
|
@ -434,9 +434,9 @@ class Room { |
|
|
|
]; |
|
|
|
|
|
|
|
if ($roomModified) { |
|
|
|
$properties = array_merge($properties, [ |
|
|
|
'description' => $this->getDescription(), |
|
|
|
]); |
|
|
|
$properties['description'] = $this->getDescription(); |
|
|
|
} else { |
|
|
|
$properties['participant-list'] = 'refresh'; |
|
|
|
} |
|
|
|
|
|
|
|
$event = new SignalingRoomPropertiesEvent($this, $userId, $properties); |
|
|
|
|
|
@ -309,6 +309,7 @@ class BackendNotifierTest extends \Test\TestCase { |
|
|
|
'listable' => Room::LISTABLE_NONE, |
|
|
|
'active-since' => null, |
|
|
|
'sip-enabled' => 0, |
|
|
|
'participant-list' => 'refresh', |
|
|
|
], |
|
|
|
], |
|
|
|
]); |
|
|
@ -362,6 +363,7 @@ class BackendNotifierTest extends \Test\TestCase { |
|
|
|
'listable' => Room::LISTABLE_NONE, |
|
|
|
'active-since' => null, |
|
|
|
'sip-enabled' => 0, |
|
|
|
'participant-list' => 'refresh', |
|
|
|
], |
|
|
|
], |
|
|
|
]); |
|
|
@ -390,6 +392,7 @@ class BackendNotifierTest extends \Test\TestCase { |
|
|
|
'listable' => Room::LISTABLE_NONE, |
|
|
|
'active-since' => null, |
|
|
|
'sip-enabled' => 0, |
|
|
|
'participant-list' => 'refresh', |
|
|
|
], |
|
|
|
], |
|
|
|
]); |
|
|
|