aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-06-27 18:37:36 -0700
committerzotlabs <mike@macgirvin.com>2019-06-27 18:37:36 -0700
commit96a99935ef4f2da899275166b127537287966dac (patch)
tree0de5572be6fb578c2872d76da488f7a48ae85e66
parent60c003733e7fed70f28eadaf3d9abcf16ec3a8ab (diff)
downloadvolse-hubzilla-96a99935ef4f2da899275166b127537287966dac.tar.gz
volse-hubzilla-96a99935ef4f2da899275166b127537287966dac.tar.bz2
volse-hubzilla-96a99935ef4f2da899275166b127537287966dac.zip
extend definition of direct message to anything with allow_cid but *not* allow_gid.
-rw-r--r--Zotlabs/Module/Item.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index cb78e4047..d03b6ee30 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -760,7 +760,12 @@ class Item extends Controller {
}
}
}
-
+
+ if(($str_contact_allow) && (! $str_group_allow)) {
+ // direct message - private between individual channels but not groups
+ $private = 2;
+ }
+
/**
*