@@ -12,7 +12,7 @@ import { listen } from '@nextcloud/notify_push'
1212
1313window . assistantPollTimerId = null
1414
15- listen ( 'task_update' , ( type , body ) => {
15+ listen ( 'taskprocessing: task_update' , ( type , body ) => {
1616 console . debug ( '[assistant] received task update push notification' , type , body )
1717 const newStatus = body . new_status
1818 const taskId = body . task_id
@@ -151,7 +151,7 @@ export async function openAssistantForm({
151151 return true
152152 }
153153 // attempt to listen to push notifications to get the intermediate output
154- const pushChannel = 'task_ ' + pushTaskId
154+ const pushChannel = 'taskprocessing:task_id_ ' + pushTaskId
155155 const hasPush = listen ( pushChannel , ( type , body ) => {
156156 console . debug ( '[assistant] received push notification' , type , body )
157157 if ( pushTaskId === view . selectedTaskId ) {
@@ -659,7 +659,7 @@ export async function openAssistantTask(
659659 return true
660660 }
661661 // attempt to listen to push notifications to get the intermediate output
662- const pushChannel = 'task_ ' + pushTaskId
662+ const pushChannel = 'taskprocessing:task_id_ ' + pushTaskId
663663 const hasPush = listen ( pushChannel , ( type , body ) => {
664664 console . debug ( '[assistant] received push notification' , type , body )
665665 if ( pushTaskId === view . selectedTaskId ) {
0 commit comments