3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-05 18:27:18 +00:00

fix: don't disable link previews in case summaries

This commit is contained in:
Dragory 2025-06-01 20:38:22 +00:00
parent 631bba3d8e
commit 62da0a6e34
No known key found for this signature in database

View file

@ -42,8 +42,6 @@ export async function getCaseSummary(
reason = reasonChunks[0] + "...";
}
reason = disableLinkPreviews(reason);
const timestamp = moment.utc(theCase.created_at, DBDateFormat);
const relativeTimeCutoff = convertDelayStringToMS(config.relative_time_cutoff)!;
const useRelativeTime = config.show_relative_times && Date.now() - timestamp.valueOf() < relativeTimeCutoff;