]> git.mxchange.org Git - friendica.git/commitdiff
Small bugfix for PR 3454
authorMichael <heluecht@pirati.ca>
Mon, 8 May 2017 20:01:18 +0000 (20:01 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 8 May 2017 20:01:18 +0000 (20:01 +0000)
src/Network/Probe.php

index d0c74e5ae6f90dc161e8abbed3537869da57b969..8e0bc1ab4d9adf22d897b5c16a2509b1cbf0bab0 100644 (file)
@@ -332,8 +332,9 @@ class Probe {
                        /// @todo temporary fix - we need a real contact update function that updates only changing fields
                        /// The biggest problem is the avatar picture that could have a reduced image size.
                        /// It should only be updated if the existing picture isn't existing anymore.
+                       /// We only update the contact when it is no probing for a specific network.
                        if (($data['network'] != NETWORK_FEED)
-                               AND ($data["network"] != NETWORK_DIASPORA)
+                               AND ($network == "")
                                AND $data["name"]
                                AND $data["nick"]
                                AND $data["url"]