From a83b6a5e637ab6a89fb51b5089bd06fde53df8f1 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 19 May 2023 13:16:53 +0000 Subject: instead of setting the value to 0 just continue so that already existing values will not be overwritten --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3