diff options
author | Mario <mario@mariovavti.com> | 2024-02-07 15:37:20 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-02-07 15:37:20 +0000 |
commit | 5f2e80849753928ee30e8420750b6218c64b4e25 (patch) | |
tree | cc3fdd173d7e9c4bc9bb85a4d93ccbd27fef3408 /Zotlabs/Module/Search.php | |
parent | 209651705db81d43a3a0546866467e0bf26fd7b9 (diff) | |
download | volse-hubzilla-5f2e80849753928ee30e8420750b6218c64b4e25.tar.gz volse-hubzilla-5f2e80849753928ee30e8420750b6218c64b4e25.tar.bz2 volse-hubzilla-5f2e80849753928ee30e8420750b6218c64b4e25.zip |
add uuid to dreport for internal use and and fix issues with conversation fetches
Diffstat (limited to 'Zotlabs/Module/Search.php')
-rw-r--r-- | Zotlabs/Module/Search.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php index 335dcc6e7..9511c0389 100644 --- a/Zotlabs/Module/Search.php +++ b/Zotlabs/Module/Search.php @@ -73,15 +73,15 @@ class Search extends Controller { $f = Libzot::fetch_conversation(App::get_channel(), punify($url), true); if ($f) { - $mid = $f[0]['message_id']; + $uuid = $f[0]['message_uuid']; foreach ($f as $m) { - if (basename($url) === $m['message_id']) { - $mid = $m['message_id']; + if ($url === $m['message_id']) { + $uuid = $m['message_uuid']; break; } } - goaway(z_root() . '/hq/' . $mid); + goaway(z_root() . '/hq/' . $uuid); } else { // try other fetch providers (e.g. diaspora, pubcrawl) |