From b50da2d8b783745d2dde3e82c5809effafd9b7d5 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 15 May 2023 08:03:27 +0000 Subject: fix parent_mid and thr_parent not set correctly for response activities --- Zotlabs/Daemon/Zotconvo.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Zotlabs/Daemon') 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; } -- cgit v1.2.3