Skip to content

Commit 37f5caa

Browse files
committed
Fix membership check.
1 parent 15a70cd commit 37f5caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/src/Controller/MatrixController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public function invite(
444444
]
445445
);
446446

447-
if (empty($membership)) {
447+
if (!empty($membership)) {
448448
return new JsonResponse(
449449
(object) [
450450
'errcode' => 'M_NOT_MEMBER',

0 commit comments

Comments
 (0)