aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Connect.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-12 06:47:41 +0000
committerMario <mario@mariovavti.com>2020-10-12 06:47:41 +0000
commite64856e9579eff653415f7ba3cc0e165fbbab47f (patch)
treec376f036351c6b710fd936988e9d8cc21189da77 /Zotlabs/Lib/Connect.php
parent7ec655073484f3368ea9f2009c15799abc262238 (diff)
parent8595835aa0d5fff5a51d6c8c42dbb6ff140b4f57 (diff)
downloadvolse-hubzilla-e64856e9579eff653415f7ba3cc0e165fbbab47f.tar.gz
volse-hubzilla-e64856e9579eff653415f7ba3cc0e165fbbab47f.tar.bz2
volse-hubzilla-e64856e9579eff653415f7ba3cc0e165fbbab47f.zip
Merge branch 'dev' into 5.0RC
Diffstat (limited to 'Zotlabs/Lib/Connect.php')
-rw-r--r--Zotlabs/Lib/Connect.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/Zotlabs/Lib/Connect.php b/Zotlabs/Lib/Connect.php
index caac30f7a..481b02ce2 100644
--- a/Zotlabs/Lib/Connect.php
+++ b/Zotlabs/Lib/Connect.php
@@ -187,12 +187,8 @@ class Connect {
// Always set these "remote" permissions for feeds since we cannot interact with them
// to negotiate a suitable permission response
- $p = get_abconfig($uid,$xchan_hash,'system','their_perms',EMPTY_STR);
- if ($p) {
- $p .= ',';
- }
- $p .= 'view_stream,republish';
- set_abconfig($uid,$xchan_hash,'system','their_perms',$p);
+ set_abconfig($uid,$xchan_hash,'their_perms','view_stream',1);
+ set_abconfig($uid,$xchan_hash,'their_perms','republish',1);
}