]> git.mxchange.org Git - friendica.git/commitdiff
added citations back into ping - lost somehow
authorfriendica <info@friendica.com>
Fri, 6 Jan 2012 00:47:47 +0000 (16:47 -0800)
committerfriendica <info@friendica.com>
Fri, 6 Jan 2012 00:47:47 +0000 (16:47 -0800)
mod/ping.php

index df07cb768e672dcdea8cf40e56a489c8cfb8a7af..35f6c53aef532069d59f152bb8bc3dfc5ac95556 100644 (file)
@@ -190,6 +190,12 @@ function ping_init(&$a) {
                        };
                }
 
+               if (count($cit)){
+                       foreach ($cit as $i) {
+                               echo xmlize( $a->get_baseurl().'/display/'.$a->user['nickname']."/".$i['parent'], $i['author-name'], $i['author-link'], $i['author-avatar'], relative_date($i['created']), t("{0} mentioned you in a post") );
+                       };
+               }
+
                echo "  </notif>";
        }
        echo " <sysmsgs>";