aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-18 02:57:42 -0800
committerfriendica <info@friendica.com>2012-02-18 02:57:42 -0800
commit1b9c03f6fc67e8230a06e6dddae59974c1f8ba56 (patch)
tree1a57120b10b5088098f88932643a8a46a422b104 /mod
parent4222f506a82c7b2a50b602c51a83a85e1912450c (diff)
downloadvolse-hubzilla-1b9c03f6fc67e8230a06e6dddae59974c1f8ba56.tar.gz
volse-hubzilla-1b9c03f6fc67e8230a06e6dddae59974c1f8ba56.tar.bz2
volse-hubzilla-1b9c03f6fc67e8230a06e6dddae59974c1f8ba56.zip
new notifications - implement storage
Diffstat (limited to 'mod')
-rwxr-xr-xmod/dfrn_request.php1
-rwxr-xr-xmod/item.php2
2 files changed, 3 insertions, 0 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index aa14bc473..ceec83e90 100755
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -577,6 +577,7 @@ function dfrn_request_content(&$a) {
'language' => $r[0]['language'],
'to_name' => $r[0]['username'],
'to_email' => $r[0]['email'],
+ 'uid' => $r[0]['uid'],
'link' => $a->get_baseurl() . '/notifications/intros',
'source_name' => ((strlen(stripslashes($r[0]['name']))) ? stripslashes($r[0]['name']) : t('[Name Withheld]')),
'source_link' => $r[0]['url'],
diff --git a/mod/item.php b/mod/item.php
index e59b45acc..3035989f3 100755
--- a/mod/item.php
+++ b/mod/item.php
@@ -746,6 +746,7 @@ function item_post(&$a) {
'language' => $user['language'],
'to_name' => $user['username'],
'to_email' => $user['email'],
+ 'uid' => $user['uid'],
'item' => $datarray,
'link' => $a->get_baseurl() . '/display/' . $user['nickname'] . '/' . $post_id,
'source_name' => $datarray['author-name'],
@@ -788,6 +789,7 @@ function item_post(&$a) {
'language' => $user['language'],
'to_name' => $user['username'],
'to_email' => $user['email'],
+ 'uid' => $user['uid'],
'item' => $datarray,
'link' => $a->get_baseurl() . '/display/' . $user['nickname'] . '/' . $post_id,
'source_name' => $datarray['author-name'],