From b5d093e5caa87517280912e40a0f47352dca3f04 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 21 Sep 2016 15:28:37 -0700 Subject: finish the channel_reddress() conversion --- include/message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/message.php') diff --git a/include/message.php b/include/message.php index d3d8181ae..0ba1978f0 100644 --- a/include/message.php +++ b/include/message.php @@ -75,7 +75,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto=' if($recip) $recip_handle = $recip[0]['xchan_addr']; - $sender_handle = $channel['channel_address'] . '@' . App::get_hostname(); + $sender_handle = channel_reddress($channel); $handles = $recip_handle . ';' . $sender_handle; -- cgit v1.2.3