]> git.mxchange.org Git - friendica.git/commitdiff
Issue 1572: Contact requests to a "FREELOVE" account resulted in "read only" contacts
authorMichael Vogel <icarus@dabo.de>
Wed, 20 May 2015 19:35:57 +0000 (21:35 +0200)
committerMichael Vogel <icarus@dabo.de>
Wed, 20 May 2015 19:35:57 +0000 (21:35 +0200)
include/diaspora.php

index c8674e985d6ba11a66ee882993ad7ae15f21e100..04588dffe6bee58661a06e19f57bf79210cbcaf7 100755 (executable)
@@ -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]),