Skip to content

Commit

Permalink
feat(search): Add appId to unified search add filter event object
Browse files Browse the repository at this point in the history
Due the need to group filters by app, in the core, it's neccesary that filters,
it's neccesary that plugin filters come with a field that helps identify the app
that sent in the filter.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
  • Loading branch information
nfebe authored and nickvergessen committed Feb 28, 2024
1 parent 5caad34 commit 6b5bc4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import '@nextcloud/dialogs/style.css'
console.debug('Initializing unified search plugin-filters from talk')
OCP.UnifiedSearch.registerFilterAction({
id: 'talk-message',
appId: 'spreed',
label: t('spreed', 'In conversation'),
icon: imagePath('spreed', 'app.svg'),
callback: () => {
Expand Down

0 comments on commit 6b5bc4d

Please sign in to comment.