From aa14a14f86d613dd509bbdceb57991c4d854130a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 20 Feb 2012 11:29:49 -0500 Subject: [PATCH] using wrong rules for facebook replies --- plugins/FacebookBridge/lib/facebookclient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5