add channel_notify_flags to list of things which should *not* be synced across nomads. You probably only want one site to send you notification emails for the same events as opposed to all of them.

This commit is contained in:
friendica 2014-02-10 19:18:09 -08:00
parent dfcb863c70
commit 7f741a7e85

View File

@ -2085,7 +2085,7 @@ function process_channel_sync_delivery($sender,$arr,$deliveries) {
}
if(array_key_exists('channel',$arr) && is_array($arr['channel']) && count($arr['channel'])) {
$disallowed = array('channel_id','channel_account_id','channel_primary','channel_prvkey', 'channel_address');
$disallowed = array('channel_id','channel_account_id','channel_primary','channel_prvkey', 'channel_address', 'channel_notify_flags');
$clean = array();
foreach($arr['channel'] as $k => $v) {