git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit aa14a14f authored by Evan Prodromou's avatar Evan Prodromou

using wrong rules for facebook replies

parent 14feccdf
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment