Skip to content

Commit

Permalink
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 <[email protected]>
  • Loading branch information
nfebe committed Feb 28, 2024
1 parent 6678d24 commit 1e7a1ba
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 1e7a1ba

Please sign in to comment.