feat: persist settings and enrich conversation context
This commit is contained in:
1 parent
a36723a325
commit
2c100d72b6
84 files changed
+2248
-644
No files matched your search
@@ -57,7 +57,17 @@ export class ResponseCheckerService {
|
||||
results.push(result);
|
||||
|
||||
if (result.gotResponse) {
|
||||
// Mark as got response
|
||||
const hasPerformanceContext = Boolean(
|
||||
message.postId || message.strategyId || message.subreddit,
|
||||
);
|
||||
if (!hasPerformanceContext) {
|
||||
this.messagesRepo.markChecked(message.id);
|
||||
this.logger.info(
|
||||
`Response from u/${message.recipient} excluded from performance: no post, strategy, or subreddit context.`,
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
||||
this.messagesRepo.markGotResponse(message.id);
|
||||
|
||||
// Get the original post info
|
||||
|
||||
Reference in new issue
Block a user