From 4e4d8b1e4a0d445b5687c2556ba64fbce79d152f Mon Sep 17 00:00:00 2001 From: emielvdveen Date: Fri, 8 Dec 2023 14:42:31 +0100 Subject: [PATCH] Removed tracking of user start outside script, obsolete since new start screen in Eyra Core --- src/framework/processing/worker_engine.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/framework/processing/worker_engine.ts b/src/framework/processing/worker_engine.ts index 70f03dda..8bdbed78 100755 --- a/src/framework/processing/worker_engine.ts +++ b/src/framework/processing/worker_engine.ts @@ -1,5 +1,5 @@ import { CommandHandler, ProcessingEngine } from '../types/modules' -import { CommandSystemDonate, isCommand, Response } from '../types/commands' +import {isCommand, Response } from '../types/commands' export default class WorkerProcessingEngine implements ProcessingEngine { sessionId: String @@ -21,18 +21,6 @@ export default class WorkerProcessingEngine implements ProcessingEngine { ) this.handleEvent(event) } - - this.trackUserStart(sessionId) - } - - trackUserStart (sessionId: string): void { - const key = `${sessionId}-tracking` - const jsonString = JSON.stringify({ message: 'user started' }) - const command: CommandSystemDonate = { __type__: 'CommandSystemDonate', key, json_string: jsonString } - this.commandHandler.onCommand(command).then( - () => {}, - () => {} - ) } handleEvent (event: any): void {