if pre-existing relationship, don't set duplex

This commit is contained in:
Friendika 2010-11-09 17:53:20 -08:00
parent 76b5e984e1
commit 70bcf000e3

View File

@ -238,6 +238,9 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
if(($relation == REL_FAN) || ($duplex))
$new_relation = REL_BUD;
if(($relation == REL_FAN) && ($duplex))
$duplex = 0;
$r = q("UPDATE `contact` SET `photo` = '%s',
`thumb` = '%s',
`micro` = '%s',
@ -455,6 +458,9 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
if(($relation == REL_VIP) || ($duplex))
$new_relation = REL_BUD;
if(($relation == REL_VIP) && ($duplex))
$duplex = 0;
$r = q("UPDATE `contact` SET
`photo` = '%s',
`thumb` = '%s',