diff options
author | friendica <info@friendica.com> | 2014-07-24 15:55:01 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-07-24 15:55:01 -0700 |
commit | 5a5190f2ff5e007283882b99171a6681d6f6ba48 (patch) | |
tree | 96a6be320206db1a37dfd9e61d1a4fc3776d2f28 /include/items.php | |
parent | 0f14dd30db80637a3f3dd2af05eb14c248def724 (diff) | |
download | volse-hubzilla-5a5190f2ff5e007283882b99171a6681d6f6ba48.tar.gz volse-hubzilla-5a5190f2ff5e007283882b99171a6681d6f6ba48.tar.bz2 volse-hubzilla-5a5190f2ff5e007283882b99171a6681d6f6ba48.zip |
add an encoding type to formatted zot communication structures so that we can later add alternate encodings.
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 10daa85f2..679c24dc1 100755 --- a/include/items.php +++ b/include/items.php @@ -838,6 +838,7 @@ function import_author_rss($x) { function encode_item($item) { $x = array(); $x['type'] = 'activity'; + $x['encoding'] = 'zot'; // logger('encode_item: ' . print_r($item,true)); @@ -1069,6 +1070,7 @@ function encode_item_flags($item) { function encode_mail($item) { $x = array(); $x['type'] = 'mail'; + $x['encoding'] = 'zot'; if(array_key_exists('mail_flags',$item) && ($item['mail_flags'] & MAIL_OBSCURED)) { $key = get_config('system','prvkey'); |