mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:35:12 +00:00
update inbox location if it changes
This commit is contained in:
parent
643214917d
commit
a516b82cef
1 changed files with 6 additions and 0 deletions
|
@ -1418,6 +1418,12 @@ class Activity {
|
|||
dbesc($url)
|
||||
);
|
||||
}
|
||||
if($inbox !== $r[0]['hubloc_callback']) {
|
||||
$r = q("update hubloc set hubloc_callback = '%s' where hubloc_hash = '%s'",
|
||||
dbesc($inbox),
|
||||
dbesc($url)
|
||||
);
|
||||
}
|
||||
$r = q("update hubloc set hubloc_updated = '%s' where hubloc_hash = '%s'",
|
||||
dbesc(datetime_convert()),
|
||||
dbesc($url)
|
||||
|
|
Loading…
Reference in a new issue