From 6a3eae599a85989f29e5794f5bee2c03ea10a5f5 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 1 Oct 2013 00:40:38 +0000 Subject: [PATCH] Initialize the messages array for new threads. --- exec/load/msgutils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/load/msgutils.js b/exec/load/msgutils.js index 616f730c13..36e4eb1cf7 100644 --- a/exec/load/msgutils.js +++ b/exec/load/msgutils.js @@ -441,6 +441,7 @@ function getMessageThreads(sub, max) { threads.dates.push(header.when_written_time); threads.thread[new_thread] = { dateIndex : threads.dates.length - 1, + messages : [], } add_to_thread(header, threads.thread[new_thread]); } -- GitLab