ref: 26170ca8394267eafab091e6d42f1b00c00a200f
parent: d50f1886ac392bb53226bcdee649cad221a05e73
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Jan 28 10:29:02 EST 2021
build: fix it.
--- a/mbox.c
+++ b/mbox.c
@@ -382,7 +382,7 @@
}
p = lookupid(m->inreplyto);
if(p == nil)
- p = placeholder(m->inreplyto, m->time);
+ p = placeholder(m->inreplyto, m->time, ins);
if(!addchild(p, m, d))
m->state |= Stoplev;
return m;
@@ -700,7 +700,7 @@
p = m->parent;
removeid(m);
if(p == nil && m->nsub != 0){
- p = placeholder(m->messageid, m->time);
+ p = placeholder(m->messageid, m->time, 1);
p->nsub = m->nsub + 1;
mbox.mesg[i] = p;
}