aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-25 21:54:16 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-25 21:54:16 -0700
commit1dbcfaa2c68904c26839fd3b6851ab539f354bbf (patch)
tree0aa58261800e310818901fbbdcd0cfb62cb7532f
parent2d471e39dcdaebbe8c60e50e39f23c430b665419 (diff)
downloadvolse-hubzilla-1dbcfaa2c68904c26839fd3b6851ab539f354bbf.tar.gz
volse-hubzilla-1dbcfaa2c68904c26839fd3b6851ab539f354bbf.tar.bz2
volse-hubzilla-1dbcfaa2c68904c26839fd3b6851ab539f354bbf.zip
add repository type as one that is able to self-identify as a public forum
-rw-r--r--mod/zfinger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index 8ddd92f3d..ba80fc9b6 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -108,7 +108,7 @@ function zfinger_init(&$a) {
$public_forum = false;
$role = get_pconfig($e['channel_id'],'system','permissions_role');
- if($role === 'forum') {
+ if($role === 'forum' || $role === 'repository') {
$public_forum = true;
}
else {