Mail: remove message about cyclic threads

They happen, and we break the cycle. There's nothing
the user can do, so there's no point in warning.
This commit is contained in:
Ori Bernstein 2021-05-01 15:33:31 -04:00
parent ee289c2415
commit b66bffe91c

View file

@ -175,10 +175,9 @@ addchild(Mesg *p, Mesg *m, int d)
assert(m->parent == nil); assert(m->parent == nil);
for(q = p; q != nil; q = q->parent){ for(q = p; q != nil; q = q->parent){
if(ideq(m->messageid, q->messageid)){ /* some messages refer to themselves */
fprint(2, "wonky message replies to self\n"); if(ideq(m->messageid, q->messageid))
return 0; return 0;
}
if(m->time > q->time) if(m->time > q->time)
q->time = m->time; q->time = m->time;
} }