Skip to content

Commit

Permalink
Change threadless summary to one hour instead of 30 mintues (#460)
Browse files Browse the repository at this point in the history
* Change threadless summary to one hour instead of 30 mintues

* Update Summarize the thread so far.js
  • Loading branch information
earlduque authored Nov 4, 2024
1 parent 46bdd92 commit 3e5eb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parsers/Summarize the thread so far.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ flags:gmi
if (thread_ts) {
chatGr.addEncodedQuery('thread_ts=' + thread_ts + '^ORts=' + thread_ts + '^textNOT LIKE!catchmeup^textNOT LIKE!summary^textNOT LIKE!catchup');
} else {
chatGr.addEncodedQuery('channel=' + current.getValue('channel') + '^sys_created_onONLast 30 minutes@javascript:gs.beginningOfLast30Minutes()@javascript:gs.endOfLast30Minutes()^thread_ts=NULL^textNOT LIKE!catchmeup^textNOT LIKE!summary^textNOT LIKE!catchup');
chatGr.addEncodedQuery('channel=' + current.getValue('channel') + '^sys_created_onRELATIVEGT@minute@ago@60^thread_ts=NULL^textNOT LIKE!catchmeup^textNOT LIKE!summary^textNOT LIKE!catchup');
}
chatGr.orderBy('sys_created_on');
chatGr.query();
Expand Down

0 comments on commit 3e5eb0e

Please sign in to comment.