Browse Source

if pre-existing relationship, don't set duplex

pull/1/head
Friendika 12 years ago
parent
commit
70bcf000e3
  1. 6
      mod/dfrn_confirm.php

6
mod/dfrn_confirm.php

@ -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',

Loading…
Cancel
Save