File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change 3434use OCP \IURLGenerator ;
3535use OCP \IUser ;
3636use OCP \Search \IProvider ;
37+ use OCP \Search \IExternalProvider ;
3738use OCP \Search \ISearchQuery ;
3839use OCP \Search \SearchResult ;
3940use 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}
You can’t perform that action at this time.
0 commit comments