diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-25 20:43:24 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-25 20:43:24 -0700 |
commit | bd83936e5dfa3f39f382e9b52f3cb28e19d5c2d0 (patch) | |
tree | b78ccc5c57dd643b83d1435c942a34b9a8e98e98 /include/conversation.php | |
parent | 88a68b941ff2c8295ac5a6f221855bc4940ddb40 (diff) | |
download | volse-hubzilla-bd83936e5dfa3f39f382e9b52f3cb28e19d5c2d0.tar.gz volse-hubzilla-bd83936e5dfa3f39f382e9b52f3cb28e19d5c2d0.tar.bz2 volse-hubzilla-bd83936e5dfa3f39f382e9b52f3cb28e19d5c2d0.zip |
send "hidden" edit activities to networks which don't support edits themselves
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/conversation.php b/include/conversation.php index 02c61b688..61d31fef4 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -414,8 +414,8 @@ function visible_activity($item) { } } -// if(is_edit_activity($item)) -// return false; + if(is_edit_activity($item)) + return false; return true; } @@ -1312,7 +1312,8 @@ function status_editor($a, $x, $popup = false) { '$expiryModalOK' => t('OK'), '$expiryModalCANCEL' => t('Cancel'), '$expanded' => ((x($x, 'expanded')) ? $x['expanded'] : false), - '$bbcode' => ((x($x, 'bbcode')) ? $x['bbcode'] : false) + '$bbcode' => ((x($x, 'bbcode')) ? $x['bbcode'] : false), + '$parent' => ((array_key_exists('parent',$x) && $x['parent']) ? $x['parent'] : 0) )); if ($popup === true) { |