aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-17 22:40:39 -0700
committerredmatrix <git@macgirvin.com>2016-07-17 22:40:39 -0700
commit10fa5c20e76dfd6ab85a7cda03a96b56a4b6870a (patch)
tree5a3442b5d33cd126924e135175a71ab9254592f8 /include/channel.php
parentf7833411a10d79ce86ec9d47ce05e2c7fcf1968a (diff)
downloadvolse-hubzilla-10fa5c20e76dfd6ab85a7cda03a96b56a4b6870a.tar.gz
volse-hubzilla-10fa5c20e76dfd6ab85a7cda03a96b56a4b6870a.tar.bz2
volse-hubzilla-10fa5c20e76dfd6ab85a7cda03a96b56a4b6870a.zip
export/import channel permissions
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php
index 0defc3863..12b4152ca 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -6,6 +6,7 @@
require_once('include/zot.php');
require_once('include/crypto.php');
require_once('include/menu.php');
+require_once('include/perm_upgrade.php');
/**
* @brief Called when creating a new channel.
@@ -497,7 +498,8 @@ function identity_basic_export($channel_id, $items = false) {
intval($channel_id)
);
if($r) {
- $ret['channel'] = $r[0];
+ translate_channel_perms_outbound($r[0]);
+ $ret['channel'] = $r[0];
$ret['relocate'] = [ 'channel_address' => $r[0]['channel_address'], 'url' => z_root()];
}