mirror of
https://github.com/friendica/friendica
synced 2024-12-23 18:40:16 +00:00
Only do the cleaning on specific networks
This commit is contained in:
parent
598ed2bdf3
commit
bdd55638ce
1 changed files with 1 additions and 1 deletions
|
@ -1420,7 +1420,7 @@ function get_gcontact_id($contact) {
|
|||
fix_alternate_contact_address($contact);
|
||||
|
||||
// Remove unwanted parts from the contact url (e.g. "?zrl=...")
|
||||
if ($contact["network"] != NETWORK_FEED)
|
||||
if (in_array($contact["network"], array(NETWORK_DFRN, NETWORK_DIASPORA, NETWORK_OSTATUS)))
|
||||
$contact["url"] = clean_contact_url($contact["url"]);
|
||||
|
||||
$r = q("SELECT `id` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 2",
|
||||
|
|
Loading…
Reference in a new issue