using wrong rules for facebook replies

This commit is contained in:
Evan Prodromou 2012-02-20 11:29:49 -05:00
parent 14feccdf7c
commit aa14a14f86

View 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;
}