Browse Source

Issue 1572: Contact requests to a "FREELOVE" account resulted in "read only" contacts

pull/1585/head
Michael Vogel 6 years ago
parent
commit
1c8b9b73f7
1 changed files with 10 additions and 9 deletions
  1. +10
    -9
      include/diaspora.php

+ 10
- 9
include/diaspora.php View File

@ -724,16 +724,17 @@ function diaspora_request($importer,$xml) {
else
$new_relation = CONTACT_IS_FOLLOWER;
$r = q("UPDATE `contact` SET
`photo` = '%s',
$r = q("UPDATE `contact` SET
`photo` = '%s',
`thumb` = '%s',
`micro` = '%s',
`rel` = %d,
`name-date` = '%s',
`uri-date` = '%s',
`avatar-date` = '%s',
`blocked` = 0,
`pending` = 0
`micro` = '%s',
`rel` = %d,
`name-date` = '%s',
`uri-date` = '%s',
`avatar-date` = '%s',
`blocked` = 0,
`pending` = 0,
`writable` = 1
WHERE `id` = %d
",
dbesc($photos[0]),


Loading…
Cancel
Save