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

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appinfo/application.php2
-rw-r--r--tests/integration/db/PresenceMapperTest.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/appinfo/application.php b/appinfo/application.php
index dbc9924..7bc5336 100644
--- a/appinfo/application.php
+++ b/appinfo/application.php
@@ -244,7 +244,7 @@ class Application extends App {
$container->registerService('UserProvider', function(IContainer $c) {
$version = \OCP\Util::getVersion();
- if (($version[0] == 12 && $version[2] >= 2) || ($version[0] >= 13)) {
+ if ($version[0] == 13) {
return new ContactsStoreUserProvider(
$c->query('OCP\Contacts\ContactsMenu\IContactsStore'),
$c->query('ServerContainer')->getUserSession(),
diff --git a/tests/integration/db/PresenceMapperTest.php b/tests/integration/db/PresenceMapperTest.php
index 3f03040..b37ce7f 100644
--- a/tests/integration/db/PresenceMapperTest.php
+++ b/tests/integration/db/PresenceMapperTest.php
@@ -80,6 +80,8 @@ class PresenceMapperTest extends MapperTestUtility
$syncService->updateUser($user);
}
+ \OC_User::setIncognitoMode(false);
+
\OC::$server->getDatabaseConnection()->executeQuery("DELETE FROM *PREFIX*ojsxc_stanzas");
}