diff options
author | Mario <mario@mariovavti.com> | 2023-05-19 13:16:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-05-19 13:17:45 +0000 |
commit | 1a614ea023f292c7df0a1d0bf77cdbe1d79e6034 (patch) | |
tree | b274a30433788eb517dca2ff2831f4fec972445b | |
parent | 65d98af24c3c7b784f7e2c95998df65901011ce3 (diff) | |
download | volse-hubzilla-1a614ea023f292c7df0a1d0bf77cdbe1d79e6034.tar.gz volse-hubzilla-1a614ea023f292c7df0a1d0bf77cdbe1d79e6034.tar.bz2 volse-hubzilla-1a614ea023f292c7df0a1d0bf77cdbe1d79e6034.zip |
instead of setting the value to 0 just continue so that already existing values will not be overwritten
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index fcf3fb172..ced361fe5 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -1368,7 +1368,7 @@ class Activity { foreach ($their_perms as $k => $v) { if(in_array($k, ['send_stream', 'post_wall'])) { - $v = 0; // Those will be set once we accept their follow request + continue; // Those will be set once we accept their follow request } set_abconfig($channel['channel_id'], $contact['abook_xchan'], 'their_perms', $k, $v); } |