tell me the title
This commit is contained in:
parent
a832635a21
commit
2b0586b0ac
@ -15,7 +15,10 @@ public class ChatMessage : Phase2Task
|
|||||||
public override async Task<Tuple<TaskStatus, WorkOrder>> ActOn(WorkOrder workOrder)
|
public override async Task<Tuple<TaskStatus, WorkOrder>> ActOn(WorkOrder workOrder)
|
||||||
{
|
{
|
||||||
await Process.Start(ChatScript,
|
await Process.Start(ChatScript,
|
||||||
workOrder.data["chatmessage"] + (await TtrssClient.GetArticles(workOrder.articleId)).First().feed_title
|
workOrder.data["chatmessage"] +
|
||||||
|
(await TtrssClient.GetArticles(workOrder.articleId)).First().feed_title +
|
||||||
|
"; " +
|
||||||
|
(await TtrssClient.GetArticles(workOrder.articleId)).First().title
|
||||||
).WaitForExitAsync();
|
).WaitForExitAsync();
|
||||||
return new Tuple<TaskStatus, WorkOrder>(TaskStatus.Done, workOrder);
|
return new Tuple<TaskStatus, WorkOrder>(TaskStatus.Done, workOrder);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user