aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Search.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-04-23 09:23:39 +0000
committerMario <mario@mariovavti.com>2023-04-23 09:23:39 +0000
commiteec4845cd0dd179020a61e9d3ba4d5b10fe458a2 (patch)
treef5069ad28f3f085c4eb2b1788bfc654601c24bda /Zotlabs/Module/Search.php
parentb99a4ade1afffb48c8f9f797317a45337533887a (diff)
downloadvolse-hubzilla-eec4845cd0dd179020a61e9d3ba4d5b10fe458a2.tar.gz
volse-hubzilla-eec4845cd0dd179020a61e9d3ba4d5b10fe458a2.tar.bz2
volse-hubzilla-eec4845cd0dd179020a61e9d3ba4d5b10fe458a2.zip
add the conversation endpoint and implement paginated fetch for zot requests in mod item
Diffstat (limited to 'Zotlabs/Module/Search.php')
-rw-r--r--Zotlabs/Module/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php
index 6601da29d..eb8f238e9 100644
--- a/Zotlabs/Module/Search.php
+++ b/Zotlabs/Module/Search.php
@@ -75,7 +75,7 @@ class Search extends Controller {
if ($f) {
$mid = $f[0]['message_id'];
foreach ($f as $m) {
- if (strpos($search, $m['message_id']) === 0) {
+ if (str_starts_with($url, $m['message_id'])) {
$mid = $m['message_id'];
break;
}