|
|
|
@ -291,7 +291,7 @@ export class TaskService {
|
|
|
|
SELECT chat_id, message_id, created_at, participant, from_me
|
|
|
|
SELECT chat_id, message_id, created_at, participant, from_me
|
|
|
|
FROM task_origins
|
|
|
|
FROM task_origins
|
|
|
|
WHERE task_id = ?
|
|
|
|
WHERE task_id = ?
|
|
|
|
`).get(taskId) as { chat_id?: string; message_id?: string; created_at?: string } | undefined;
|
|
|
|
`).get(taskId) as { chat_id?: string; message_id?: string; created_at?: string; participant?: string | null; from_me?: number | boolean | null } | undefined;
|
|
|
|
} catch {
|
|
|
|
} catch {
|
|
|
|
origin = this.dbInstance.prepare(`
|
|
|
|
origin = this.dbInstance.prepare(`
|
|
|
|
SELECT chat_id, message_id, created_at
|
|
|
|
SELECT chat_id, message_id, created_at
|
|
|
|
|