From f48556cbc08c0600e256f5964a553c666ee66372 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20H=C3=B6=C3=9Fl?= <tobias@hoessl.eu>
Date: Tue, 28 Feb 2012 13:40:41 +0000
Subject: [PATCH] contact.network is used later to check if a direct link or a
 redirect by /redir/contactid should be used

---
 mod/message.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mod/message.php b/mod/message.php
index 4b494e906f..e293d62d9d 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()),