Issue 1572: Contact requests to a "FREELOVE" account resulted in "read only" contacts
This commit is contained in:
parent
53a2121797
commit
1c8b9b73f7
1 changed files with 10 additions and 9 deletions
|
@ -724,16 +724,17 @@ function diaspora_request($importer,$xml) {
|
||||||
else
|
else
|
||||||
$new_relation = CONTACT_IS_FOLLOWER;
|
$new_relation = CONTACT_IS_FOLLOWER;
|
||||||
|
|
||||||
$r = q("UPDATE `contact` SET
|
$r = q("UPDATE `contact` SET
|
||||||
`photo` = '%s',
|
`photo` = '%s',
|
||||||
`thumb` = '%s',
|
`thumb` = '%s',
|
||||||
`micro` = '%s',
|
`micro` = '%s',
|
||||||
`rel` = %d,
|
`rel` = %d,
|
||||||
`name-date` = '%s',
|
`name-date` = '%s',
|
||||||
`uri-date` = '%s',
|
`uri-date` = '%s',
|
||||||
`avatar-date` = '%s',
|
`avatar-date` = '%s',
|
||||||
`blocked` = 0,
|
`blocked` = 0,
|
||||||
`pending` = 0
|
`pending` = 0,
|
||||||
|
`writable` = 1
|
||||||
WHERE `id` = %d
|
WHERE `id` = %d
|
||||||
",
|
",
|
||||||
dbesc($photos[0]),
|
dbesc($photos[0]),
|
||||||
|
|
Loading…
Reference in a new issue