mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
relationship direction was too confusing to work with. instead of "in,out,both" it's now declared by role e.g. "vip,fan,bud".
This commit is contained in:
parent
399b6828f6
commit
188dc1fcf8
8 changed files with 25 additions and 28 deletions
|
@ -127,9 +127,9 @@ function dfrn_confirm_post(&$a) {
|
|||
$thumb = $a->get_baseurl() . '/images/default-profile-sm.jpg';
|
||||
}
|
||||
|
||||
$new_relation = DIRECTION_OUT;
|
||||
if(($relation == DIRECTION_IN) || ($duplex))
|
||||
$new_relation = DIRECTION_BOTH;
|
||||
$new_relation = REL_FAN;
|
||||
if(($relation == REL_VIP) || ($duplex))
|
||||
$new_relation = REL_BUD;
|
||||
|
||||
$r = q("UPDATE `contact` SET
|
||||
`photo` = '%s',
|
||||
|
@ -362,9 +362,9 @@ function dfrn_confirm_post(&$a) {
|
|||
$thumb = $a->get_baseurl() . '/images/default-profile-sm.jpg';
|
||||
}
|
||||
|
||||
$new_relation = DIRECTION_IN;
|
||||
if(($relation == DIRECTION_OUT) || ($duplex))
|
||||
$new_relation = DIRECTION_BOTH;
|
||||
$new_relation = REL_VIP;
|
||||
if(($relation == REL_FAN) || ($duplex))
|
||||
$new_relation = REL_BUD;
|
||||
|
||||
$r = q("UPDATE `contact` SET `photo` = '%s',
|
||||
`thumb` = '%s',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue