From: Evan Prodromou Date: Mon, 20 Feb 2012 16:29:49 +0000 (-0500) Subject: using wrong rules for facebook replies X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa14a14f86d613dd509bbdceb57991c4d854130a;p=quix0rs-gnu-social.git using wrong rules for facebook replies --- diff --git a/plugins/FacebookBridge/lib/facebookclient.php b/plugins/FacebookBridge/lib/facebookclient.php index d0eb18d079..26e21cbd6e 100644 --- a/plugins/FacebookBridge/lib/facebookclient.php +++ b/plugins/FacebookBridge/lib/facebookclient.php @@ -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; }