Skip to content

Commit

Permalink
ehn: 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 committed Feb 28, 2024
1 parent 6678d24 commit 5d31c79
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 5d31c79

Please sign in to comment.