aboutsummaryrefslogtreecommitdiffstats
path: root/include/message.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-29 16:20:26 -0700
committerredmatrix <mike@macgirvin.com>2016-09-29 16:20:26 -0700
commit3727bea29acb79f66c15b155133ef3bb98d93d49 (patch)
treed3298c37cf7d286b25d85fe98f45a977fb9be2ec /include/message.php
parentfcd7dc87447eee14277958a3b56080310ab6f352 (diff)
downloadvolse-hubzilla-3727bea29acb79f66c15b155133ef3bb98d93d49.tar.gz
volse-hubzilla-3727bea29acb79f66c15b155133ef3bb98d93d49.tar.bz2
volse-hubzilla-3727bea29acb79f66c15b155133ef3bb98d93d49.zip
issue #538 continued
Diffstat (limited to 'include/message.php')
-rw-r--r--include/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/message.php b/include/message.php
index 0829ebaaa..748689206 100644
--- a/include/message.php
+++ b/include/message.php
@@ -166,7 +166,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto='
foreach($match[2] as $mtch) {
$hash = substr($mtch,0,strpos($mtch,','));
$rev = intval(substr($mtch,strpos($mtch,',')));
- $r = attach_by_hash_nodata($hash,$rev);
+ $r = attach_by_hash_nodata($hash,get_observer_hash(),$rev);
if($r['success']) {
$attachments[] = array(
'href' => z_root() . '/attach/' . $r['data']['hash'],