aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/message.php')
-rw-r--r--mod/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/message.php b/mod/message.php
index 34aee10a8..9e8a54fed 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -437,7 +437,7 @@ logger('message: ' . print_r($message,true));
logger('mails: ' . print_r($mails,true));
- $recp = (($message['from_xchan'] === $channel['channel_hash']) ? 'to_xchan' : 'from_xchan');
+ $recp = (($message['from_xchan'] === $channel['channel_hash']) ? 'to' : 'from');
$select = $message[$recp]['xchan_name'] . '<input type="hidden" name="messageto" value="' . $message[$recp]['xchan_hash'] . '" />';
$parent = '<input type="hidden" name="replyto" value="' . $message['parent_uri'] . '" />';