friends not being correctly unmarked for death after contact resumed

This commit is contained in:
Mike Macgirvin
2010-09-17 16:50:30 -07:00
parent 68004fc962
commit 22429cd432
2 changed files with 5 additions and 3 deletions

View File

@@ -105,12 +105,14 @@
if(intval($res->status) == 1)
mark_for_death($contact);
else {
if($contact['term-date'] != '0000-00-00 00:00:00')
unmark_for_death($contact);
}
if((intval($res->status) != 0) || (! strlen($res->challenge)) || (! strlen($res->dfrn_id)))
continue;
if($contact['term-date'] != '0000-00-00 00:00:00')
unmark_for_death($contact);
$postvars = array();