1
0
Fork 0

origin flag handling, and bug #137 - provide timezone conversion for events posted across to Diaspora

This commit is contained in:
Friendika 2011-10-17 14:52:03 -07:00
commit 278433eac7
7 changed files with 26 additions and 17 deletions

View file

@ -352,7 +352,7 @@ function event_store($arr) {
$item_arr['visible'] = 1;
$item_arr['verb'] = ACTIVITY_POST;
$item_arr['object-type'] = ACTIVITY_OBJ_EVENT;
$item_arr['origin'] = ((intval($arr['cid']) == 0) ? 1 : 0);
$item_arr['body'] = format_event_bbcode($event);