aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-19 13:16:53 +0000
committerMario <mario@mariovavti.com>2023-05-19 13:16:53 +0000
commita83b6a5e637ab6a89fb51b5089bd06fde53df8f1 (patch)
treeac62d8699870384809f29dbc814a25edb62478d7
parent31b4fb343dff04119be328829fc81eaf1634c257 (diff)
downloadvolse-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.php2
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);
}