зеркало из https://github.com/nextcloud/spreed.git
Fix adding members from circles
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
8f49fae760
Коммит
76709508b8
|
@ -502,7 +502,7 @@ class RoomController extends AEnvironmentAwareController {
|
|||
$participants = [];
|
||||
foreach ($circle->getMembers() as $member) {
|
||||
/** @var Member $member */
|
||||
if ($member->getType() === Member::TYPE_USER || $member->getUserId() === '') {
|
||||
if ($member->getType() !== Member::TYPE_USER || $member->getUserId() === '') {
|
||||
// Not a user?
|
||||
continue;
|
||||
}
|
||||
|
@ -743,10 +743,9 @@ class RoomController extends AEnvironmentAwareController {
|
|||
return new DataResponse([], Http::STATUS_NOT_FOUND);
|
||||
}
|
||||
|
||||
$participants = [];
|
||||
foreach ($circle->getMembers() as $member) {
|
||||
/** @var Member $member */
|
||||
if ($member->getType() === Member::TYPE_USER || $member->getUserId() === '') {
|
||||
if ($member->getType() !== Member::TYPE_USER || $member->getUserId() === '') {
|
||||
// Not a user?
|
||||
continue;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче