The uri-id is now in all contact tables

This commit is contained in:
Michael 2021-07-09 07:09:33 +00:00
parent c63d3f4604
commit 6e79da0b0c
7 changed files with 51 additions and 27 deletions

View file

@ -100,6 +100,7 @@ class FContact
'batch' => $arr["batch"], 'notify' => $arr["notify"],
'poll' => $arr["poll"], 'confirm' => $arr["confirm"],
'alias' => $arr["alias"], 'pubkey' => $arr["pubkey"],
'uri-id' => ItemURI::insert(['uri' => $arr['url'], 'guid' => $arr['guid']]),
'updated' => DateTimeFormat::utcNow()];
$condition = ['url' => $arr["url"], 'network' => $arr["network"]];