We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d14f0f5 commit 90b6656Copy full SHA for 90b6656
lib/Service/ClientDetector.php
@@ -61,10 +61,11 @@ public function hasMobileConnection(IUser $user): bool {
61
->select('name')
62
->where($qb->expr()->eq('uid', $qb->createNamedParameter($user->getUID())))
63
->andWhere($qb->expr()->orX(
64
- $qb->expr()->eq('name', $qb->createNamedParameter('Nextcloud-iOS')),
65
- $qb->expr()->like('name', $qb->createNamedParameter('%Nextcloud-android%')),
+ $qb->expr()->eq('name', $qb->createNamedParameter('%MagentaCLOUD iOS%')),
+ $qb->expr()->like('name', $qb->createNamedParameter('%Android%')),
66
+
67
))
68
->setMaxResults(1);
69
return $qb->executeQuery()->rowCount() === 1;
70
}
-}
71
+}
0 commit comments