aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-02-28 13:40:41 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-02-28 13:40:41 +0000
commitf48556cbc08c0600e256f5964a553c666ee66372 (patch)
tree35b627125d220a5109eb1fe3412ec876429d7569
parent1204210c69eade767bb19af5a5a18cee4a9db215 (diff)
downloadvolse-hubzilla-f48556cbc08c0600e256f5964a553c666ee66372.tar.gz
volse-hubzilla-f48556cbc08c0600e256f5964a553c666ee66372.tar.bz2
volse-hubzilla-f48556cbc08c0600e256f5964a553c666ee66372.zip
contact.network is used later to check if a direct link or a redirect by /redir/contactid should be used
-rwxr-xr-xmod/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/message.php b/mod/message.php
index 4b494e906..e293d62d9 100755
--- a/mod/message.php
+++ b/mod/message.php
@@ -176,7 +176,7 @@ function message_content(&$a) {
$a->set_pager_total($r[0]['total']);
$r = q("SELECT max(`mail`.`created`) AS `mailcreated`, min(`mail`.`seen`) AS `mailseen`,
- `mail`.* , `contact`.`name`, `contact`.`url`, `contact`.`thumb`
+ `mail`.* , `contact`.`name`, `contact`.`url`, `contact`.`thumb` , `contact`.`network`
FROM `mail` LEFT JOIN `contact` ON `mail`.`contact-id` = `contact`.`id`
WHERE `mail`.`uid` = %d AND `from-url` $eq '%s' GROUP BY `parent-uri` ORDER BY `created` DESC LIMIT %d , %d ",
intval(local_user()),