]> git.mxchange.org Git - friendica.git/commitdiff
contact.network is used later to check if a direct link or a redirect by /redir/conta...
authorTobias Hößl <tobias@hoessl.eu>
Tue, 28 Feb 2012 13:40:41 +0000 (13:40 +0000)
committerTobias Hößl <tobias@hoessl.eu>
Tue, 28 Feb 2012 13:40:41 +0000 (13:40 +0000)
mod/message.php

index 4b494e906f5be8df0f0e8747d6b7d41d9997f678..e293d62d9dcb178fd0d979a2815e4885317355b5 100755 (executable)
@@ -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()),