]> git.mxchange.org Git - friendica.git/commitdiff
receiving comment notifications for conversations we aren't "involved" in
authorFriendika <info@friendika.com>
Sun, 13 Feb 2011 06:29:32 +0000 (22:29 -0800)
committerFriendika <info@friendika.com>
Sun, 13 Feb 2011 06:29:32 +0000 (22:29 -0800)
mod/dfrn_notify.php

index dffbb597404a544090a226b2388b506d0588d0fb..755d674c13f71d129d29a7d33cf774f7064f2f8e 100644 (file)
@@ -391,8 +391,9 @@ function dfrn_notify_post(&$a) {
                                                intval($importer['importer_uid'])
                                        );
                                        if(count($myconv)) {
+                                               $importer_url = $a->get_baseurl() . '/profile/' . $importer['nickname'];
                                                foreach($myconv as $conv) {
-                                                       if(! link_compare($conv['author-link'],$importer['url']))
+                                                       if(! link_compare($conv['author-link'],$importer_url))
                                                                continue;
                                                        require_once('bbcode.php');
                                                        $from = stripslashes($datarray['author-name']);