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:
parent
ee289c2415
commit
b66bffe91c
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue