bookmarks fail to sync

This commit is contained in:
zotlabs 2018-09-20 16:07:32 -07:00
parent 2c1560e027
commit 3cc66b6816
2 changed files with 4 additions and 3 deletions

View File

@ -59,9 +59,10 @@ function bookmark_add($channel,$sender,$taxonomy,$private,$opts = null) {
); );
if($r) if($r)
logger('add_bookmark: duplicate menu entry', LOGGER_DEBUG); logger('add_bookmark: duplicate menu entry', LOGGER_DEBUG);
if(! $r) if(! $r) {
$r = menu_add_item($menu_id,$channel_id,$iarr); $r = menu_add_item($menu_id,$channel_id,$iarr);
menu_sync_packet($channel_id,get_observer_hash(),$menu_id);
}
return $r; return $r;
} }