bad merge
This commit is contained in:
@@ -981,6 +981,8 @@ function empty_acl($item) {
|
|||||||
|
|
||||||
function encode_item($item,$mirror = false) {
|
function encode_item($item,$mirror = false) {
|
||||||
$x = [];
|
$x = [];
|
||||||
|
$x['type'] = 'activity';
|
||||||
|
$x['encoding'] = 'zot';
|
||||||
|
|
||||||
$r = q("select channel_id from channel where channel_id = %d limit 1",
|
$r = q("select channel_id from channel where channel_id = %d limit 1",
|
||||||
intval($item['uid'])
|
intval($item['uid'])
|
||||||
@@ -1359,6 +1361,8 @@ function encode_item_flags($item) {
|
|||||||
|
|
||||||
function encode_mail($item,$extended = false) {
|
function encode_mail($item,$extended = false) {
|
||||||
$x = [];
|
$x = [];
|
||||||
|
$x['type'] = 'mail';
|
||||||
|
$x['encoding'] = 'zot';
|
||||||
|
|
||||||
if(array_key_exists('mail_obscured',$item) && intval($item['mail_obscured'])) {
|
if(array_key_exists('mail_obscured',$item) && intval($item['mail_obscured'])) {
|
||||||
if($item['title'])
|
if($item['title'])
|
||||||
|
|||||||
Reference in New Issue
Block a user