aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Zotconvo.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-15 08:03:27 +0000
committerMario <mario@mariovavti.com>2023-05-15 08:03:27 +0000
commitb50da2d8b783745d2dde3e82c5809effafd9b7d5 (patch)
tree0e40082173670f3aa0f4d6f5b7793c2cf79247a7 /Zotlabs/Daemon/Zotconvo.php
parent29e8e6d95c469c08cff7cd615319d1059f57e22e (diff)
downloadvolse-hubzilla-b50da2d8b783745d2dde3e82c5809effafd9b7d5.tar.gz
volse-hubzilla-b50da2d8b783745d2dde3e82c5809effafd9b7d5.tar.bz2
volse-hubzilla-b50da2d8b783745d2dde3e82c5809effafd9b7d5.zip
fix parent_mid and thr_parent not set correctly for response activities
Diffstat (limited to 'Zotlabs/Daemon/Zotconvo.php')
-rw-r--r--Zotlabs/Daemon/Zotconvo.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/Zotlabs/Daemon/Zotconvo.php b/Zotlabs/Daemon/Zotconvo.php
index 3d6162473..16e7f113f 100644
--- a/Zotlabs/Daemon/Zotconvo.php
+++ b/Zotlabs/Daemon/Zotconvo.php
@@ -14,11 +14,12 @@ class Zotconvo {
return;
}
- $channel_id = intval($argv[1]);
$mid = $argv[2];
+ if (!$mid) {
+ return;
+ }
- $channel = channelx_by_n($channel_id);
-
+ $channel = channelx_by_n(intval($argv[1]));
if (!$channel) {
return;
}