aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-05-01 16:10:40 +0200
committerMax Kostikov <max@kostikov.co>2019-05-01 16:10:40 +0200
commit92b6026695b8f33d18a467bed7cb5f881ad65e21 (patch)
tree1166e7cb3bbaa9b5ef859510ca8a8012a9a646a6 /include
parentc9a5f21344f985f5b4ee53ff349a9ac47116a778 (diff)
parent0174bf372297f353b5934ff6c42b4dac44c913bd (diff)
downloadvolse-hubzilla-92b6026695b8f33d18a467bed7cb5f881ad65e21.tar.gz
volse-hubzilla-92b6026695b8f33d18a467bed7cb5f881ad65e21.tar.bz2
volse-hubzilla-92b6026695b8f33d18a467bed7cb5f881ad65e21.zip
Merge branch 'dev' into 'dev'
Use thr_parent tp handle reply on comment feature See merge request hubzilla/core!1617
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/items.php b/include/items.php
index 7a5c2c3c3..95b696034 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1875,12 +1875,9 @@ function item_store($arr, $allow_exec = false, $deliver = true) {
// is the new message multi-level threaded?
// even though we don't support it now, preserve the info
// and re-attach to the conversation parent.
-
- // @FIXME when we'll start threaded comments support,
- // now this respected on mid / parent_mid level (MK)
if($r[0]['mid'] != $r[0]['parent_mid']) {
- //$arr['parent_mid'] = $r[0]['parent_mid'];
+ $arr['parent_mid'] = $r[0]['parent_mid'];
$z = q("SELECT * FROM item WHERE mid = '%s' AND parent_mid = '%s' AND uid = %d
ORDER BY id ASC LIMIT 1",
dbesc($r[0]['parent_mid']),