aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-03 20:26:20 -0800
committerfriendica <info@friendica.com>2012-01-03 20:26:20 -0800
commitfc7d0360bb059bf87c5c531a2bfd5bcee3aef3f6 (patch)
tree091edb45d73b6bf79534a5d6fbda144b4d81ddf5 /mod/item.php
parent8e6c02cda383b7655ef7c045a1c9cb2c63541b60 (diff)
downloadvolse-hubzilla-fc7d0360bb059bf87c5c531a2bfd5bcee3aef3f6.tar.gz
volse-hubzilla-fc7d0360bb059bf87c5c531a2bfd5bcee3aef3f6.tar.bz2
volse-hubzilla-fc7d0360bb059bf87c5c531a2bfd5bcee3aef3f6.zip
add verb and item to notifications to aid in localisation
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/item.php b/mod/item.php
index ece92f0f3..c4e66ebeb 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -691,7 +691,9 @@ function item_post(&$a) {
'link' => $a->get_baseurl() . '/display/' . $user['nickname'] . '/' . $post_id,
'source_name' => $datarray['author-name'],
'source_link' => $datarray['author-link'],
- 'source_photo' => $datarray['author-avatar']
+ 'source_photo' => $datarray['author-avatar'],
+ 'verb' => ACTIVITY_POST,
+ 'otype' => 'item'
));
}
@@ -731,7 +733,9 @@ function item_post(&$a) {
'link' => $a->get_baseurl() . '/display/' . $user['nickname'] . '/' . $post_id,
'source_name' => $datarray['author-name'],
'source_link' => $datarray['author-link'],
- 'source_photo' => $datarray['author-avatar']
+ 'source_photo' => $datarray['author-avatar'],
+ 'verb' => ACTIVITY_POST,
+ 'otype' => 'item'
));
}
}