]> git.mxchange.org Git - friendica.git/commitdiff
still getting parent relays on remote systems
authorfriendica <info@friendica.com>
Thu, 8 Mar 2012 02:23:55 +0000 (18:23 -0800)
committerfriendica <info@friendica.com>
Thu, 8 Mar 2012 02:23:55 +0000 (18:23 -0800)
include/items.php
include/notifier.php
js/fk.autocomplete.js

index fdff6b642fa33139681f4aa48c7e4f087ffed721..1a7aa6c4608d0dd57592ef97782c501750f2ae37 100755 (executable)
@@ -1756,7 +1756,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
                                $datarray['uid'] = $importer['uid'];
                                $datarray['contact-id'] = $contact['id'];
 
-                               if(x($datarray,'owner-link') && strlen($datarray['owner-link']) && (! link_compare($datarray['owner-link'],$contact['url']))) {
+                               if(! link_compare($datarray['owner-link'],$contact['url'])) {
                                        // The item owner info is not our contact. It's OK and is to be expected if this is a tgroup delivery, 
                                        // but otherwise there's a possible data mixup on the sender's system.
                                        // the tgroup delivery code called from item_store will correct it if it's a forum,
@@ -2477,7 +2477,7 @@ function local_delivery($importer,$data) {
                        $datarray['uid'] = $importer['importer_uid'];
                        $datarray['contact-id'] = $importer['id'];
 
-                       if(x($datarray,'owner-link') && strlen($datarray['owner-link']) && (! link_compare($datarray['owner-link'],$importer['url']))) {
+                       if(! link_compare($datarray['owner-link'],$contact['url'])) {
                                // The item owner info is not our contact. It's OK and is to be expected if this is a tgroup delivery, 
                                // but otherwise there's a possible data mixup on the sender's system.
                                // the tgroup delivery code called from item_store will correct it if it's a forum,
index 4765cca06d155c9a9c19fc387c6a41ebc82f3a11..5b23406fce629b514e472a5526ab8c2d70856de5 100755 (executable)
@@ -201,7 +201,7 @@ function notifier_run($argv, $argc){
                // by stringing togther an array of retractions and sending them onward.
                 
        
-               $localhost = $a->get_hostname();
+               $localhost = str_replace('www.','',$a->get_hostname());
                if(strpos($localhost,':'))
                        $localhost = substr($localhost,0,strpos($localhost,':'));
 
index 509466bd9878f3810cadc00259af22db3bdc7198..69fe77e8cb2f7762eb81f46f58f56bac709a1a1a 100755 (executable)
@@ -103,6 +103,7 @@ ACPopup.prototype._search = function(){
                }
                else {
                        txt = tinyMCE.activeEditor.getContent();
+                       //                      alert(that.searchText + ':' + t);
                        newtxt = txt.replace(that.searchText,t+' ');
                        tinyMCE.activeEditor.setContent(newtxt);
                        tinyMCE.activeEditor.focus();