]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
using wrong rules for facebook replies
authorEvan Prodromou <evan@status.net>
Mon, 20 Feb 2012 16:29:49 +0000 (11:29 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 20 Feb 2012 16:29:49 +0000 (11:29 -0500)
plugins/FacebookBridge/lib/facebookclient.php

index d0eb18d0790b07955836191c56ab129f6768fea3..26e21cbd6e1daf8642755938e9866ede7e87e6bd 100644 (file)
@@ -177,7 +177,7 @@ class Facebookclient
         // If it's not a reply, or if the user WANTS to send @-replies,
         // then, yeah, it can go to Facebook.
 
-        if ((empty($notice->reply_to) && !preg_match('/^@[a-zA-Z0-9_]{1,15}\b/u', $notice->content)) ||
+        if (empty($this->notice->reply_to) ||
             ($this->flink->noticesync & FOREIGN_NOTICE_SEND_REPLY)) {
             return true;
         }