aboutsummaryrefslogtreecommitdiffstats
path: root/include/message.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-09 18:18:27 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-09 18:18:27 -0700
commit4af339da636e70b2695c12881f5dbc086e55a656 (patch)
treeadec116ba194fa2f72679dddf36d0735dbf30144 /include/message.php
parent4cd6e7ec9158fea96c3741843f6f26a8bad8c18f (diff)
downloadvolse-hubzilla-4af339da636e70b2695c12881f5dbc086e55a656.tar.gz
volse-hubzilla-4af339da636e70b2695c12881f5dbc086e55a656.tar.bz2
volse-hubzilla-4af339da636e70b2695c12881f5dbc086e55a656.zip
slight hack to improve public forum detection in the forum widget
Diffstat (limited to 'include/message.php')
-rw-r--r--include/message.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/message.php b/include/message.php
index 396e3162c..efe1a7710 100644
--- a/include/message.php
+++ b/include/message.php
@@ -49,6 +49,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto='
// look for any existing conversation structure
+
if(strlen($replyto)) {
$r = q("select convid from mail where channel_id = %d and ( mid = '%s' or parent_mid = '%s' ) limit 1",
intval(local_channel()),