diff options
author | redmatrix <mike@macgirvin.com> | 2016-08-31 18:39:50 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-08-31 18:39:50 -0700 |
commit | c3fdd00aa458523d24b4b897845243f00a4e1769 (patch) | |
tree | a7b9ac15a5106b57c3706ce42c2dfb7105c2f477 /include | |
parent | 13c7fe46cd45ee3df8e1f3c80d7618ef54ab3f1b (diff) | |
download | volse-hubzilla-c3fdd00aa458523d24b4b897845243f00a4e1769.tar.gz volse-hubzilla-c3fdd00aa458523d24b4b897845243f00a4e1769.tar.bz2 volse-hubzilla-c3fdd00aa458523d24b4b897845243f00a4e1769.zip |
allow public comments (sort of - see the notes)
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/items.php b/include/items.php index 53a7b7927..9079621a3 100755 --- a/include/items.php +++ b/include/items.php @@ -234,11 +234,10 @@ function can_comment_on_post($observer_xchan, $item) { return true; break; case 'public': - // We don't allow public comments yet, until a policy - // for dealing with anonymous comments is in place with - // a means to moderate comments. Until that time, return - // false. - return false; + // We don't really allow or support public comments yet, but anonymous + // folks won't ever reach this point (as $observer_xchan will be empty). + // This means the viewer has an xchan and we can identify them. + return true; break; case 'any connections': case 'contacts': |