Skip to content

Commit 4e4d8b1

Browse files
committed
Removed tracking of user start outside script, obsolete since new start screen in Eyra Core
1 parent fd1600e commit 4e4d8b1

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/framework/processing/worker_engine.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CommandHandler, ProcessingEngine } from '../types/modules'
2-
import { CommandSystemDonate, isCommand, Response } from '../types/commands'
2+
import {isCommand, Response } from '../types/commands'
33

44
export default class WorkerProcessingEngine implements ProcessingEngine {
55
sessionId: String
@@ -21,18 +21,6 @@ export default class WorkerProcessingEngine implements ProcessingEngine {
2121
)
2222
this.handleEvent(event)
2323
}
24-
25-
this.trackUserStart(sessionId)
26-
}
27-
28-
trackUserStart (sessionId: string): void {
29-
const key = `${sessionId}-tracking`
30-
const jsonString = JSON.stringify({ message: 'user started' })
31-
const command: CommandSystemDonate = { __type__: 'CommandSystemDonate', key, json_string: jsonString }
32-
this.commandHandler.onCommand(command).then(
33-
() => {},
34-
() => {}
35-
)
3624
}
3725

3826
handleEvent (event: any): void {

0 commit comments

Comments
 (0)