aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_notify.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-13 22:57:31 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-13 22:57:31 -0700
commitc5031139ebb46ce4994d3bd62059ae4eaba71359 (patch)
treeaadb065cbaf0fbf788b6f4fdd7a5e1a332ba7373 /mod/dfrn_notify.php
parent38fde6672eb3d46b8b154ba2f22df99f91f64852 (diff)
downloadvolse-hubzilla-c5031139ebb46ce4994d3bd62059ae4eaba71359.tar.gz
volse-hubzilla-c5031139ebb46ce4994d3bd62059ae4eaba71359.tar.bz2
volse-hubzilla-c5031139ebb46ce4994d3bd62059ae4eaba71359.zip
abstractify items, check photos for birthday paradox
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r--mod/dfrn_notify.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php
index b1a330e8c..80cd1a2fd 100644
--- a/mod/dfrn_notify.php
+++ b/mod/dfrn_notify.php
@@ -208,7 +208,7 @@ function dfrn_notify_post(&$a) {
$datarray['parent-uri'] = $parent_uri;
$datarray['uid'] = $importer['importer_uid'];
$datarray['contact-id'] = $importer['id'];
- $posted_id = post_remote($a,$datarray);
+ $posted_id = item_store($datarray);
if($posted_id) {
$r = q("SELECT `parent` FROM `item` WHERE `id` = %d AND `uid` = %d LIMIT 1",
@@ -280,7 +280,7 @@ function dfrn_notify_post(&$a) {
$datarray['parent-uri'] = $parent_uri;
$datarray['uid'] = $importer['importer_uid'];
$datarray['contact-id'] = $importer['id'];
- $r = post_remote($a,$datarray);
+ $r = item_store($datarray);
// find out if our user is involved in this conversation and wants to be notified.
@@ -342,7 +342,7 @@ function dfrn_notify_post(&$a) {
$datarray['parent-uri'] = $item_id;
$datarray['uid'] = $importer['importer_uid'];
$datarray['contact-id'] = $importer['id'];
- $r = post_remote($a,$datarray);
+ $r = item_store($datarray);
continue;
}