Skip to content

Commit 2bf9185

Browse files
committed
chore: bump max NC version to 33
Signed-off-by: Jana Peper <[email protected]>
1 parent ef7a702 commit 2bf9185

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ and a unified search provider for messages. It also lets you send files to Matte
2020
<screenshot>https://raw.githubusercontent.com/nextcloud/integration_mattermost/main/img/screenshot2.jpg</screenshot>
2121
<screenshot>https://raw.githubusercontent.com/nextcloud/integration_mattermost/main/img/screenshot3.jpg</screenshot>
2222
<dependencies>
23-
<nextcloud min-version="32" max-version="32"/>
23+
<nextcloud min-version="32" max-version="33"/>
2424
</dependencies>
2525
<background-jobs>
2626
<job>OCA\Mattermost\BackgroundJob\DailySummaryWebhook</job>

lib/Search/MattermostSearchMessagesProvider.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@
3434
use OCP\IURLGenerator;
3535
use OCP\IUser;
3636
use OCP\Search\IProvider;
37+
use OCP\Search\IExternalProvider;
3738
use OCP\Search\ISearchQuery;
3839
use OCP\Search\SearchResult;
3940
use OCP\Search\SearchResultEntry;
4041

41-
class MattermostSearchMessagesProvider implements IProvider {
42+
class MattermostSearchMessagesProvider implements IProvider, IExternalProvider {
4243

4344
public function __construct(
4445
private IAppManager $appManager,
@@ -176,4 +177,8 @@ protected function getThumbnailUrl(array $entry): string {
176177
)
177178
: '';
178179
}
180+
181+
public function isExternalProvider(): bool {
182+
return True;
183+
}
179184
}

0 commit comments

Comments
 (0)