Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/circles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2022-07-29 20:24:02 +0300
committerMaxence Lange <maxence@artificial-owl.com>2022-08-02 14:19:59 +0300
commitf46d691c23394358daf945a9649852d952a17bc9 (patch)
tree7f7cf93383fdf59b8d86b720369884894429b9ca
parent50f8b17f0376a18e301a596e88184a16ba575359 (diff)
ignore no initiatorv23.0.8rc1
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--lib/Listeners/DeprecatedListener.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Listeners/DeprecatedListener.php b/lib/Listeners/DeprecatedListener.php
index 94860f17..6c299bfd 100644
--- a/lib/Listeners/DeprecatedListener.php
+++ b/lib/Listeners/DeprecatedListener.php
@@ -120,7 +120,8 @@ class DeprecatedListener {
foreach ($circles as $circle) {
// we are only interested in direct membership
- if ($circle->getInitiator()->getSingleId() !== $federatedUser->getSingleId()) {
+ if (!$circle->hasInitiator()
+ || $circle->getInitiator()->getSingleId() !== $federatedUser->getSingleId()) {
continue;
}