aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-01 01:30:34 -0700
committerfriendica <info@friendica.com>2014-06-01 01:30:34 -0700
commit3821efb99ed2377f5380bf37a0a1ac3412d08c82 (patch)
treeea8df4e7cb1d917a783659f49efbb6058c481b72 /include
parentc459b5b6354e12d26a8eb651883a63e3e466ba6d (diff)
downloadvolse-hubzilla-3821efb99ed2377f5380bf37a0a1ac3412d08c82.tar.gz
volse-hubzilla-3821efb99ed2377f5380bf37a0a1ac3412d08c82.tar.bz2
volse-hubzilla-3821efb99ed2377f5380bf37a0a1ac3412d08c82.zip
issue #477
Diffstat (limited to 'include')
-rw-r--r--include/event.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/event.php b/include/event.php
index 0f337867c..107b15427 100644
--- a/include/event.php
+++ b/include/event.php
@@ -391,7 +391,7 @@ function event_store_item($arr,$event) {
if(! $arr['mid'])
$arr['mid'] = item_message_id();
-
+ $item_arr['aid'] = $z[0]['channel_account_id'];
$item_arr['uid'] = $arr['uid'];
$item_arr['author_xchan'] = $arr['event_xchan'];
$item_arr['mid'] = $arr['mid'];
@@ -409,7 +409,7 @@ function event_store_item($arr,$event) {
$item_arr['verb'] = ACTIVITY_POST;
$item_arr['resource_type'] = 'event';
- $item_arr['resource_id'] = $hash;
+ $item_arr['resource_id'] = $event['event_hash'];
$item_arr['obj_type'] = ACTIVITY_OBJ_EVENT;
$item_arr['body'] = format_event_bbcode($arr);