diff options
author | Mario <mario@mariovavti.com> | 2022-01-18 10:26:13 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-18 10:26:13 +0100 |
commit | 465c5c8cfb8f94abe9e226da0d534df5c090a229 (patch) | |
tree | 4f05f7d08c63873f1d43eb3ca52e28952ce71546 /Zotlabs | |
parent | ee28ba5be118bdd7f561230ef12fda6b4a9f6630 (diff) | |
download | volse-hubzilla-465c5c8cfb8f94abe9e226da0d534df5c090a229.tar.gz volse-hubzilla-465c5c8cfb8f94abe9e226da0d534df5c090a229.tar.bz2 volse-hubzilla-465c5c8cfb8f94abe9e226da0d534df5c090a229.zip |
make sure to use the correct default role
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 | ||||
-rw-r--r-- | Zotlabs/Module/New_channel.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index cacf4d979..2de25885a 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -1402,7 +1402,7 @@ class Activity { } } - $x = PermissionRoles::role_perms('social'); + $x = PermissionRoles::role_perms('personal'); $their_perms = Permissions::FilledPerms($x['perms_connect']); if ($contact && $contact['abook_id']) { diff --git a/Zotlabs/Module/New_channel.php b/Zotlabs/Module/New_channel.php index 5989e3da6..24dbe2944 100644 --- a/Zotlabs/Module/New_channel.php +++ b/Zotlabs/Module/New_channel.php @@ -138,7 +138,7 @@ class New_channel extends \Zotlabs\Web\Controller { intval($aid) ); if($r && (! intval($r[0]['total']))) { - $default_role = get_config('system','default_permissions_role','social'); + $default_role = get_config('system','default_permissions_role','personal'); } $limit = account_service_class_fetch(get_account_id(),'total_identities'); |