diff --git a/Parsers/Summarize the thread so far.js b/Parsers/Summarize the thread so far.js index 2a91896..249d0b8 100644 --- a/Parsers/Summarize the thread so far.js +++ b/Parsers/Summarize the thread so far.js @@ -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 hour@javascript:gs.beginningOfLastHour()@javascript:gs.endOfLastHour()^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();