allow public comments (sort of - see the notes)

This commit is contained in:
redmatrix 2016-08-31 18:39:50 -07:00
parent 13c7fe46cd
commit c3fdd00aa4

View File

@ -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':