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.
front
Ori Bernstein 2021-05-01 15:33:31 -04:00
parent ee289c2415
commit b66bffe91c
1 changed files with 2 additions and 3 deletions

View File

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