aboutsummaryrefslogtreecommitdiffstats
path: root/include/salmon.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-31 20:36:59 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-31 20:36:59 -0700
commitb376f215337e4bee7320a0df8fc3d9b1beb2f289 (patch)
tree64db391a0605c512a8332eeba70e3b9b13934398 /include/salmon.php
parentb919a1e35ac404a929ec7f9ecec497abcda0279b (diff)
downloadvolse-hubzilla-b376f215337e4bee7320a0df8fc3d9b1beb2f289.tar.gz
volse-hubzilla-b376f215337e4bee7320a0df8fc3d9b1beb2f289.tar.bz2
volse-hubzilla-b376f215337e4bee7320a0df8fc3d9b1beb2f289.zip
notify folks who have been tagged in a post
Diffstat (limited to 'include/salmon.php')
-rw-r--r--include/salmon.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/salmon.php b/include/salmon.php
index 872dcd5f3..2838f2cbb 100644
--- a/include/salmon.php
+++ b/include/salmon.php
@@ -86,13 +86,13 @@ function get_salmon_key($uri,$keyhash) {
-function slapper($owner,$contact,$slap) {
+function slapper($owner,$url,$slap) {
logger('slapper called. Data: ' . $slap);
// does contact have a salmon endpoint?
- if(! strlen($contact['notify']))
+ if(! strlen($url))
return;
// add all namespaces to item
@@ -147,7 +147,7 @@ EOT;
));
// slap them
- post_url($contact['notify'],$salmon, array(
+ post_url($url,$salmon, array(
'Content-type: application/magic-envelope+xml',
'Content-length: ' . strlen($salmon)
));
@@ -172,7 +172,7 @@ EOT;
));
// slap them
- post_url($contact['notify'],$salmon, array(
+ post_url($url,$salmon, array(
'Content-type: application/magic-envelope+xml',
'Content-length: ' . strlen($salmon)
));