diff options
author | Mario <mario@mariovavti.com> | 2020-01-15 21:43:47 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-01-15 21:43:47 +0000 |
commit | 2a0a06d74aa1e51b0e50459f90167ab35ba1411b (patch) | |
tree | e078f0a93779cb5f156c0f56b9df574bdad744ab /Zotlabs/Lib/Libzot.php | |
parent | ccaa93655a6b44834d04c536d809c4b2c69c354b (diff) | |
download | volse-hubzilla-2a0a06d74aa1e51b0e50459f90167ab35ba1411b.tar.gz volse-hubzilla-2a0a06d74aa1e51b0e50459f90167ab35ba1411b.tar.bz2 volse-hubzilla-2a0a06d74aa1e51b0e50459f90167ab35ba1411b.zip |
some work on zot6 DMs
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 100d45c05..ad00aa97a 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1220,8 +1220,8 @@ class Libzot { $arr['owner_xchan'] = $env['sender']; } - if($private) { - $arr['item_private'] = true; + if ($private && (! intval($arr['item_private']))) { + $arr['item_private'] = 1; } if ($arr['mid'] === $arr['parent_mid']) { |