diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-08 17:51:48 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-08 17:52:39 -0700 |
commit | 75d521d42affbafa34e87752deeb1961367de1d5 (patch) | |
tree | ae068699ab0372837d35f73146745accb6f0ce2d /include/Import/import_diaspora.php | |
parent | c6bdf7e891f3c0b49a1e9c40622e05aef590e2b6 (diff) | |
download | volse-hubzilla-75d521d42affbafa34e87752deeb1961367de1d5.tar.gz volse-hubzilla-75d521d42affbafa34e87752deeb1961367de1d5.tar.bz2 volse-hubzilla-75d521d42affbafa34e87752deeb1961367de1d5.zip |
menu import and sync
Diffstat (limited to 'include/Import/import_diaspora.php')
-rw-r--r-- | include/Import/import_diaspora.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Import/import_diaspora.php b/include/Import/import_diaspora.php index fca9fa4f2..a0f473b50 100644 --- a/include/Import/import_diaspora.php +++ b/include/Import/import_diaspora.php @@ -57,6 +57,10 @@ function import_diaspora($data) { $channel_id = $c['channel']['channel_id']; + // Hubzilla only: Turn on the Diaspora protocol so that follow requests will be sent. + + set_pconfig($channel_id,'system','diaspora_allowed','1'); + // todo - add auto follow settings, (and strip exif in hubzilla) $location = escape_tags($data['user']['profile']['location']); @@ -70,7 +74,6 @@ function import_diaspora($data) { ); if($data['user']['profile']['nsfw']) { - // fixme for hubzilla which doesn't use pageflags any more q("update channel set channel_pageflags = (channel_pageflags | %d) where channel_id = %d", intval(PAGE_ADULT), intval($channel_id) |