aboutsummaryrefslogtreecommitdiffstats
path: root/mod/share.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-05 16:16:32 -0700
committerfriendica <info@friendica.com>2014-05-05 16:16:32 -0700
commitbdbda6074cb3bc06b748a557b9c16f775ecc3508 (patch)
tree997300a7150333394fd2ca99dcb56ef1d37e56c7 /mod/share.php
parent94b2ac6abb193452fd357e0bf609f6991ff8115a (diff)
downloadvolse-hubzilla-bdbda6074cb3bc06b748a557b9c16f775ecc3508.tar.gz
volse-hubzilla-bdbda6074cb3bc06b748a557b9c16f775ecc3508.tar.bz2
volse-hubzilla-bdbda6074cb3bc06b748a557b9c16f775ecc3508.zip
add message_id to reshared items so that we can eventually notify the original poster via an activity that their item was shared.
Diffstat (limited to 'mod/share.php')
-rw-r--r--mod/share.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/share.php b/mod/share.php
index 48965ad36..8b0403663 100644
--- a/mod/share.php
+++ b/mod/share.php
@@ -50,7 +50,8 @@ function share_init(&$a) {
"' profile='".$r[0]['author']['xchan_url'] .
"' avatar='".$r[0]['author']['xchan_photo_s'].
"' link='".$r[0]['plink'].
- "' posted='".$r[0]['created']."']\n";
+ "' posted='".$r[0]['created'].
+ "' message_id='".$r[0]['mid']."']\n";
if($r[0]['title'])
$o .= '[b]'.$r[0]['title'].'[/b]'."\n";
$o .= $r[0]['body'];