Merge pull request #3457 from annando/1705-probe

Small bugfix for PR 3454
2022.09-rc
rabuzarus 2017-05-08 22:28:42 +02:00 zatwierdzone przez GitHub
commit 899bfacb73
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -332,8 +332,9 @@ class Probe {
/// @todo temporary fix - we need a real contact update function that updates only changing fields /// @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. /// 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. /// 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) if (($data['network'] != NETWORK_FEED)
AND ($data["network"] != NETWORK_DIASPORA) AND ($network == "")
AND $data["name"] AND $data["name"]
AND $data["nick"] AND $data["nick"]
AND $data["url"] AND $data["url"]