To date, we have only propagated "post" type items through ZOT with Articles, Cards, etc. sent only to channel clones and are not distributed to contacts.
However, I'm working on adding a new Item Type == ITEM_TYPE_CUSTOM (9) for use by addons that may desire to propagate using ZOT. However, I've run into a problem in that
include/items.php::encode_item() does not encode the
item_type field when encoding an item for distribution.
The question is: Is there a particular reason for this? Or is it just a consequence of the evolution of the protocol that it didn't get added in?
Is there a reason not to just encode the [item_type] in the packet? Or should ITEM_TYPE_CUSTOM be designed to set [item_type] to ITEM_TYPE_CUSTOM during
item_store() (or maybe in
zot_import()?) based on the