aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-17 14:52:03 -0700
committerFriendika <info@friendika.com>2011-10-17 14:52:03 -0700
commit278433eac75639052686f70e98621466d6c44df3 (patch)
treeac9d4dbe9d6a64636143d9a6eb8e591245129143 /include/event.php
parentb820dfa31fd0fead82f238f18c965dcdbf5f672d (diff)
downloadvolse-hubzilla-278433eac75639052686f70e98621466d6c44df3.tar.gz
volse-hubzilla-278433eac75639052686f70e98621466d6c44df3.tar.bz2
volse-hubzilla-278433eac75639052686f70e98621466d6c44df3.zip
origin flag handling, and bug #137 - provide timezone conversion for events posted across to Diaspora
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/event.php b/include/event.php
index 99f685d0b..746422a13 100644
--- a/include/event.php
+++ b/include/event.php
@@ -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);