diff options
author | Mario <mario@mariovavti.com> | 2023-05-19 13:16:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-05-19 13:16:53 +0000 |
commit | a83b6a5e637ab6a89fb51b5089bd06fde53df8f1 (patch) | |
tree | ac62d8699870384809f29dbc814a25edb62478d7 | |
parent | 31b4fb343dff04119be328829fc81eaf1634c257 (diff) | |
download | volse-hubzilla-a83b6a5e637ab6a89fb51b5089bd06fde53df8f1.tar.gz volse-hubzilla-a83b6a5e637ab6a89fb51b5089bd06fde53df8f1.tar.bz2 volse-hubzilla-a83b6a5e637ab6a89fb51b5089bd06fde53df8f1.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); } |