mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
if pre-existing relationship, don't set duplex
This commit is contained in:
parent
76b5e984e1
commit
70bcf000e3
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue